Generating C++ Host Code From a Session

The Kernel Development Framework can generate C++ code from your Kernel session.

To generate the C++ code in Microsoft Visual Studio*:

  1. Go to Tools > Intel Code Builder for OpenCL API > OpenCL Kernel Development > Generate Host Code Generator
  2. In the OpenCL CodeBuilder Host Code Generator dialog box that appears, select the desired name and location for the generated C++ code and related files, and click Done to generate the files.

You can now use the generated C++ code to edit the kernel and rerun a session with the new kernel.