I have installed pocl.
make check shows all 145 tests passed.
The build shows that
--******** Enabled features:
......
-- OCL_DRIVERS (Drivers built): basic pthreads
......
But clinfo command shows only pthreads as the only device for the pocl platform. Is there a way to enable the basic device?
I want to add a custom opencl device to pocl. Understanding basic device implementation in pocl seems to be a good starting point.
According to the pocl documentation, the basic device hast to be enabled explicitly by setting the environment variable
POCL_DEVICEStobasic:So you should be able to use the device by calling
POCL_DEVICES="basic" clinfo.