C++ version of SCOW OpenCL wrapper