fix for incorrect opencl device selection