Generate OpenCL kernel code