[Beignet] CL_INVALID_CONTEXT
Zhigang Gong
zhigang.gong at linux.intel.com
Mon Apr 13 18:59:46 PDT 2015
The most possible cause is that it failed to open the cl device.
I just submitted two patches. Could you apply those two patches
and try it again. Then you could send all the output of the
utest_run to the list and we can check the root cause why it failed.
Thanks,
Zhigang Gong.
On Mon, Apr 13, 2015 at 09:03:12PM +0200, Jan-Niclas Hilgert wrote:
> Dear Beignet Community and Team,
>
> i finally made beignet compile successfully on my Ubuntu 14.04 running on an Intel NUC. Unfortunately 100% of the tests provided by you fail, with a lot of error messages like these:
>
> at file /home/hilgert/beignet/utests/enqueue_copy_buf.cpp, function
> enqueue_copy_buf, line 56
> enqueue_copy_buf_unaligned() [FAILED]
> Error: error calling clCreateBuffer with error CL_INVALID_CONTEXT
>
> at file /home/hilgert/beignet/utests/enqueue_copy_buf_unaligned.cpp,
> function enqueue_copy_buf_unaligned, line 82
> test_printf()error calling clCreateProgramWithBinary
> [FAILED]
> Error: error calling cl_kernel_init with error CL_INVALID_CONTEXT
>
> I searched the internet for a solution to that problem, but didn’t find anything useful. Have you ever experienced this error or know anything about how to get rid of it?
>
> Best wishes,
> Jan
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet
More information about the Beignet
mailing list