Refactor Compute.OpenCL.KernelGenerator