initialize opencl device and kernel