Tutorial: Debugging with Intel® Distribution for GDB* on Linux* OS Host

This tutorial describes basic scenarios of debugging Data Parallel C++ (DPC++) and OpenCL™ applications on a CPU, GPU, and an FPGA emulator using Intel® Distribution for GDB*.

Prerequisites

Check the Get Started Guide and complete all setup steps depending on whether you aim at debugging on a CPU or a GPU.

Debugging a Kernel on CPU and GPU: Major Differences

In comparison to debugging on a CPU, debugging a kernel on a GPU has a few differences: