"The device does not support OpenCL"
I'm using an inferencing engine called mace. (https://github.com/XiaoMi/mace) I've developed a stand-alone c++ file that runs in 32bit Yocto land quite well. Based on other issues the idea was to move to the 64 bit OpenCL docker image. Fine.
Except now when I run the new code the mace engine reports "The device does not support OpenCL". Same code.
(I even tried re-installing the OpenCL deb package to the docker environment.)
I believe that the call that mace makes:
cl_int err = ::clGetPlatformIDs(0, NULL, &n);
returns n being 0. To be confirmed.
I /container/path/mace/mace/mace/mace/libmace/mace.cc:503] Initializing MaceEngine W /container/path/mace/mace/mace/mace/libmace/mace.cc:58] The device does not support OpenCL I /container/path/mace/mace/mace/mace/libmace/mace.cc:507] CheckGPUAvalibility(net_def, device_.get()) failed with error: Out of resources