improved error reporting in the opencl opcode