Beignet currently only support ivb GT1 and GT2.  The support for baytrail is
not complete yet.

You can try the first patch at beignet mail list:

http://lists.freedesktop.org/archives/beignet/2014-April/002729.html

 

If your baytrail board has the same device id as the above patch's (0x0F31),
then it could fix the error you met.

But it could not pass all the unit tests, we are investigating now.

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Tan, Wei Chong
Sent: Thursday, April 10, 2014 5:30 PM
To: [email protected]
Subject: [Linux-gfx] OpenCL clGetDeviceIDs error

 

Hi,

 

I just built a Beignet OpenCL, on a Baytrail platform following the steps in
the foil here:

http://software.intel.com/sites/default/files/Create,%20Build%20Open%20CL-be
ignet.pdf

 

The build was smooth.

I am also able to compile and link my test app against it, using the option
below:

 

clang++ -std=c++11 -g -o WrapperForOpenCL_Client-OpenCL.elf
WrapperForOpenCL_Client.cpp WrapperForOpenCL.cpp -lOpenCL -lXext -lXfixes
-lX11 -lpthread

or

clang++ -std=c++11 -g -o WrapperForOpenCL_Client-cl.elf
WrapperForOpenCL_Client.cpp WrapperForOpenCL.cpp -L/usr/local/lib/beignet
-lcl -lXext -lXfixes -lX11 -lpthread

 

However, when I try to run it, I get the below error:

terminate called after throwing an instance of 'cl::Error'

   what(): clGetDeviceIDS

Aborted (core dumped)

 

Any guidance would be appreciated, thanks.

 

Regards,

Wei Chong.

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

Reply via email to