Refactor using OpenCL helper unit.