build error

Thomas Wuerthinger thomas.wuerthinger at oracle.com
Wed Feb 20 13:57:20 PST 2013


Vasanth,

I'll provide you with exactly what you describe below. However, I'll still need another 24 hours - will let you know when it is pushed.

I guess that you'll later want to add a HSAIL implementation. Could you please advise as to what would be your requirements and constraints regarding register allocation for the HSAIL code?

- thomas

On Feb 20, 2013, at 9:14 AM, "Venkatachalam, Vasanth" <Vasanth.Venkatachalam at amd.com> wrote:

> Hi Thomas,
>  
> Thanks for the fast response. I checked out the latest copy of the repo and am able to build the code.
>  
> What I would like to do now is run a small Java program (say one that just adds two integers) and see PTX code being emitted for the addition.
>  
> You mention that you’re refactoring the backend. Is the code that I’ve checked out currently in a state where I will be able to do the above?
> If so, can you provide some details on what I need to do to get there?
>  
> Thanks,
> Vasanth
>  
> From: Thomas Wuerthinger [mailto:thomas.wuerthinger at oracle.com] 
> Sent: Tuesday, February 19, 2013 5:51 PM
> To: Venkatachalam, Vasanth
> Cc: graal-dev at openjdk.java.net
> Subject: Re: build error
>  
> Vasanth,
>  
> I've just pushed a new version to http://hg.openjdk.java.net/graal/graal/ that contains Christian's changes provisionally integrated. You should be able to pull and build. I'm currently working on refactoring our backend to fit the needs of PTX in terms of register allocation and assembly output.
>  
> - thomas 
>  
> On Feb 19, 2013, at 3:28 PM, "Venkatachalam, Vasanth" <Vasanth.Venkatachalam at amd.com> wrote:
> 
> 
> Hi,
> 
> I'm trying to build the following patch which adds PTX ISA support to GRAAL.
> 
> http://cr.openjdk.java.net/~twisti/0000000/
> 
> I applied the patch successfully, but when I tried to build it (using mx build) I got errors such as:
> 
> 
> 
> 
> AbstractPTXAssembler.java: 27: error: package com.oracle.graal.lir.ptx
> 
> 
> does not exist
> 
> 
> 
> Import com.oracle.graal.lir.ptx.*
> 
> 
>  
> 
> 
>  
> Apparently the build process is not able to find the above package in question, even though it has been added to the source tree (as a result of applying this patch). It looks like the build scripts may need to be updated so that they know where to find the source file for the above newly added package.
> 
> Can someone explain what configuration change needs to be made here so that I will  be able to do an mx build?
> 
> Vasanth
> 



More information about the graal-dev mailing list