Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-15 Thread Dorrington, Albert
Hi Francisco, I implemented the patch on my system and rebuilt my two programs. Reran my online compile with save program to generate a new 'compiled kernel' and then reran the load compiled kernel program; and it worked without errors, executing the kernel properly. So, it looks like the

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-15 Thread Francisco Jerez
Dorrington, Albert albert.dorring...@lmco.com writes: Hi Francisco, I implemented the patch on my system and rebuilt my two programs. Reran my online compile with save program to generate a new 'compiled kernel' and then reran the load compiled kernel program; and it worked without

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-15 Thread Dorrington, Albert
-Original Message- From: Francisco Jerez [mailto:curroje...@riseup.net] Sent: Wednesday, January 15, 2014 10:35 AM Yeah, well, it's up to the implementation how device-specific the binaries are. On r600 they're roughly half-way through the compilation process. If that's not

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-15 Thread Francisco Jerez
Dorrington, Albert albert.dorring...@lmco.com writes: -Original Message- From: Francisco Jerez [mailto:curroje...@riseup.net] Sent: Wednesday, January 15, 2014 10:35 AM Yeah, well, it's up to the implementation how device-specific the binaries are. On r600 they're roughly half-way

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-14 Thread Francisco Jerez
Tom Stellard t...@stellard.net writes: On Mon, Jan 13, 2014 at 06:44:15PM +, Dorrington, Albert wrote: Tom, Thanks for your response. I am very interested in implementing this, so any pointers you can provide would be greatly appreciated. I'm cc'ing Fransisco since he may also have

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-14 Thread Dorrington, Albert
Hi Tom and Francisco, When I tried to use Clang from the command line to produce binaries, all I could get was the LLVM IR code, so I adapted my test program to produce a binary using clGetProgramInfo(). (I have been following code examples in book 'OpenCL Programming Guide') I have been

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-14 Thread Tom Stellard
On Tue, Jan 14, 2014 at 10:05:47AM +0100, Francisco Jerez wrote: Tom Stellard t...@stellard.net writes: On Mon, Jan 13, 2014 at 06:44:15PM +, Dorrington, Albert wrote: Tom, Thanks for your response. I am very interested in implementing this, so any pointers you can provide would

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-14 Thread Francisco Jerez
Dorrington, Albert albert.dorring...@lmco.com writes: Hi Tom and Francisco, When I tried to use Clang from the command line to produce binaries, all I could get was the LLVM IR code, so I adapted my test program to produce a binary using clGetProgramInfo(). (I have been following code

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-14 Thread Dorrington, Albert
Hi Francisco, I'd be glad to try the patch out, unfortunately it was blocked by our mail server rules. If you can resend the file, and set the extension to .allow it should get through our mail server fine. Thanks! -Al -Original Message- From: Francisco Jerez

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-14 Thread Aaron Watry
A general FYI for anyone: The mesa-dev archive has a copy of the patch that you can download. http://lists.freedesktop.org/archives/mesa-dev/2014-January/051551.html On Tue, Jan 14, 2014 at 3:29 PM, Dorrington, Albert albert.dorring...@lmco.com wrote: Hi Francisco, I'd be glad to try the

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-13 Thread Dorrington, Albert
Tom, Thanks for your response. I am very interested in implementing this, so any pointers you can provide would be greatly appreciated. I don't have access to IRC at work (at least I doubt I do) due to firewalls - but I can use the mailing list. I wasn't entirely sure about the proper clang

Re: [Mesa-dev] EXTERNAL: Re: OpenCL Clang/Clover Offline Compilation issue

2014-01-13 Thread Tom Stellard
On Mon, Jan 13, 2014 at 06:44:15PM +, Dorrington, Albert wrote: Tom, Thanks for your response. I am very interested in implementing this, so any pointers you can provide would be greatly appreciated. I'm cc'ing Fransisco since he may also have some feedback. The first step is to build