Configuring and Running the Intel® SDK for OpenCL™ Applications - Debugger Plug-in

After you enabled debugging in the OpenCL™ Runtime, you can start to use the Intel® SDK for OpenCL™Applications - Debugger plug-in for the Microsoft Visual Studio* IDE:

  1. Start the Microsoft Visual Studio IDE.
  2. Go to Tools > Intel Code Builder for OpenCL API > Options... .
  3. To debug the CPU device, select CPU Kernel Debugger and fill out the appropriate work items and port.
  4. To debug the GPU device, select GPU Kernel Debugger and fill out the appropriate server, port and log file.
  5. Insert breakpoints in the application in different OpenCL kernel calls, and then start debugging with F5.

Note

If NDRange is not 3D, leave unused dimension values at 0.