3 ms·
OpenCL does not have automatic CPU fallback. You have to select the device manually, in your code. You can query each of the available OpenCL devices to determ
by MaxBarraclough 6y ago
OpenCL does not have automatic CPU fallback.
You have to select the device manually, in your code. You can query each of the available OpenCL devices to determine if it is a GPU. [0]
It sounds like the issue was with your OpenCL device-selection code.
[0] https://man.opencl.org/clGetDeviceInfo.html https://man.opencl.org/clGetDeviceInfo.html (ctrl-f for GPU)