little changes to then opencl implementation