[Beignet] [PATCH] Compile against upstream LLVM 3.3

Steven Newbury steve at snewbury.org.uk
Mon Apr 22 00:30:43 PDT 2013


On Mon, 2013-04-22 at 15:05 +0800, Zhigang Gong wrote:

> My best guessing is that the latest llvm 3.3 svn introduces the "image2d_t"
> and some related keywords in FE
> which is incompatible with Beignet's current implementation. One possible
> workaround is to redefine image2d_t
> to another name such as the following :
> 
> #define image2d_t  beignet_image2d_t
> 
> And put this line at the beginning of the ocl_stdlib.h. It should work. 

I should have provided more of the errors, attached full utests output.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.xz
Type: application/x-xz
Size: 9512 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20130422/70fa5947/attachment.bin>


More information about the Beignet mailing list