refactor building/loading/saving OpenCL kernel