Weird - setenv.sh has export OCL_IGNORE_SELF_TEST=1, which is supposed
to turn that off (does setting environment variables that way not work
in FreeBSD? if so, you'll also need to set the rest of setenv.sh in
whatever way does work). Does passing that explicitly (i.e.
OCL_IGNORE_SELF_TEST=1 ./utest_run or OCL_IGNORE_SELF_TEST=1 clinfo) ,
or disabling it altogether (remove the device = 0; at src/cl_device_id.c
line 893), give you any more?
(*Warning*: these do *not* fix the underlying "using __local returns
nonsense" problem, only turn off the check so we can see whether the
problem actually is that.)
Beignet mailing list