Adding rudimentary OpenCL helpers.