Installing Intel® SDK for OpenCL™ Applications - GPU Kernel Debugger for Linux*

This topic describes the installation of the Intel® SDK for OpenCL™ Applications - GPU Kernel Debugger on a Linux* machine.

Supported OSes and Prerequisites

Intel® SDK for OpenCL™ Applications - GPU Kernel Debugger for Linux* can be installed and run on the following Linux* operating systems:

Note

Intel SDK for OpenCL Applications - GPU Kernel Debugger currently does not support a Yocto* operating system on an Intel® Processor formerly known as Broxton.

Note

For CentOS users, sudo -E yum update upgrades the system from 7.1 to 7.2.

Host Machine

As a host machine you can use any machine with an Intel® CPU running a Linux* OS.

Target Machine

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:

Using Target Machine as Host

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.

Sample Application

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.

Installing Intel® SDK for OpenCL™ Applications - GPU Kernel Debugger

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.