First time here? Check out the FAQ!
answered 2020-12-03 09:52:02 -0600
Use OpenCL cache: https://github.com/intel/compute-runtime/blob/master/opencl/doc/FAQ.md#feature-cl_cache. Generete is once and all subsequent calls will take few milliseconds.