OpenCL optimizations and alterations.