added opencl checks