• 12/19/2018
  • Public Content

Final Kernel Binary Save/Load

The feature for saving and loading final kernel binaries facilitates CPU compile time saving. Intel® implementation of the existing OpenCL™ API for CPU is enhanced to retrieve and inject binaries of the programs that are compiled and optimized for CPU. Namely, the binary string returned by invoking
clGetProgramInfo()
with parameter
CL_PROGRAM_BINARIES
contains a target-specific compiled binary, after building the program for CPU device. This binary is persistent, and you can save it to disk. If you invoke
clCreateProgramWithBinary()
with such binary, it will be used without compiling the program.
NOTE
Ensure that a correct binary is provided to
clCreateProgramWithBinary()
.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.