Hi Tony,

Thanks for reporting the problem.
Currently I don't see a simple fix. We are now working on separate the 
compilation of user kernel and built-in (built-in functions will be compiled 
offline).
After that, the problem will disappear.

Thanks!
Ruiling
-----Original Message-----
From: Beignet [mailto:[email protected]] On Behalf Of 
Moore, Anthony W
Sent: Saturday, August 02, 2014 12:25 AM
To: [email protected]
Subject: [Beignet] OpenCV program defines clashing with ocl_stdlib.h

Hello,

I'm using OpenCV 3.0 and running some of the OpenCL performance tests and was 
having trouble building some of the kernels. The problem is the define 'T'  on 
the build command line (-D T=float -D cn=1 -D convertToT=noconvert -D 
INTEL_DEVICE) is clashing with a 'float T[13]' found in ocl_stdlib.tmp.h 
causing syntax errors. I've made modifications (/T/__T/, /cn/__cn/) to the 
template header file and I'm able to compile now but wanted to share the 
problem and see how this should be handled.

thanks
Tony


_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to