added the OpenCL host code.