This topic describes the installation of the Intel® SDK for OpenCL™ Applications - GPU Kernel Debugger on a Linux* machine.
Intel® SDK for OpenCL™ Applications - GPU Kernel Debugger for Linux* can be installed and run on the following Linux* operating systems:
CentOS* 7.4
Ubuntu* 16.04
Intel SDK for OpenCL Applications - GPU Kernel Debugger currently does not support a Yocto* operating system on an Intel® Processor formerly known as Broxton.
For CentOS users, sudo -E yum update
upgrades the system
from 7.1 to 7.2.
As a host machine you can use any machine with an Intel® CPU running a Linux* OS.
A machine with 6th, 7th, or 8th Generation Intel® Core™ Processors running a Linux* OS with the Intel® Graphics Compute Runtime for OpenCL™ Driver installed. For information about the driver, refer to the OpenCL™ Runtimes for Intel® Processors.
If you are building on CentOS* machine, please use make rpm-pkg
instead of make binrpm-pkg
when building the Linux kernel,
and make sure to install the Linux headers RPM.
Make sure the dkms package is installed. Use the following command to install:
sudo apt-get install dkms
sudo yum install epel-release dkms
On Linux, the host and target machine can be the same machine if you use one of these option:
This section describes the process assuming the second option, i.e. you can connect remotely to the host machine.
So for example, you may start a remote SSH (for example, PuTTY*) from your laptop to your development machine (onto which the SDK is installed), and launch gdb, gdbserver-igfx, and your host application via the SSH session.
The example presented in this section uses three PuTTY windows and two separate machines:
The Windows development machine is used for the remote SSH sessions, but you can also start a remote SSH session through a Linux machine.
Download the Median Filter sample, which will be used for the debugging demonstration.
The sample is part of the "Code Samples" suite available on Code Samples page: https://software.intel.com/en-us/intel-opencl-support/code-samples.
Intel® SDK for OpenCL™ Applications - GPU Kernel Debugger on a Linux* is installed with the Intel® SDK for OpenCL™ Applications. To use the GPU Kernel Debugger, make sure your Linux machine meets all the requirements listed above.