Added doitgen kernel to CUDA and OpenCL