Last OpenCL variant - combined optimizatinos in one.