Debugging OpenCL™ Kernels on GPU

Intel® SDK for OpenCL™ Applications delivers a seamless debugging experience that enables you to debug both CPU and GPU portions of your application simultaneously.

This chapter provides Intel® SDK for OpenCL™ Applications - GPU Debugger installation walkthrough and demonstrates how to use the debugger to debug an OpenCL sample application.

Usually the process requires two separate machines (host machine and target machine) to debug OpenCL kernels on the GPU (unless you have a discrete graphics card, when host and target machines can be the same machine physically):

Note

The reason for using two separate machines is because the GPU is hung on the OpenCL kernel while it is under debugging. Therefore, the UI rendering seems frozen while it waits for the GPU to render UI/desktop.

For more information, see the following topics: