Simple wrapper for common OpenCL usage.