You may need to try the opencl-1.2 branch. As the master branch is using the 
1.1 header files, the ICD extension need the 1.2 header files.

 

From: beignet-bounces+zhigang.gong=linux.intel....@lists.freedesktop.org 
[mailto:beignet-bounces+zhigang.gong=linux.intel....@lists.freedesktop.org] On 
Behalf Of I.T. Daniher
Sent: Monday, August 19, 2013 10:08 AM
To: [email protected]
Subject: [Beignet] (Still) having issues building beignet.

 

http://itdaniher.com/p?nMoD

[ 22%] Built target gbe
[ 22%] Building C object src/CMakeFiles/cl.dir/cl_khr_icd.c.o
In file included from /home/it/Downloads/beignet/src/cl_khr_icd.c:18:0:
/usr/local/include/ocl_icd.h:746:5: error: unknown type name 
‘cl_device_partition_property’
     const cl_device_partition_property * /* properties */,
     ^
/usr/local/include/ocl_icd.h:750:5: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or 
‘__attribute__’ before ‘CL_API_SUFFIX__VERSION_1_2’
   ) CL_API_SUFFIX__VERSION_1_2;
     ^
make[2]: *** [src/CMakeFiles/cl.dir/cl_khr_icd.c.o] Error 1
make[1]: *** [src/CMakeFiles/cl.dir/all] Error 2
make: *** [all] Error 2
 
Any ideas?
 
 
Thanks!
--
 
Ian
_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to