Closed s-u closed 4 years ago
oclDevices() will fail with an error instead of returning an empty list if no matching devices exist.
oclDevices()
> OpenCL::oclDevices(type="all") [[1]] OpenCL device 'pthread-Intel Xeon E3-12xx v2 (Ivy Bridge, IBRS)' > OpenCL::oclDevices(type="gpu") Error in OpenCL::oclDevices(type = "gpu") : clGetDeviceIDs failed (oclError -1)
oclDevices()
will fail with an error instead of returning an empty list if no matching devices exist.