Begin of RK2 for OpenCL