Intel® SDK for OpenCL™ Applications

Intel® VTune™ Amplifier GPU In-kernel Profiling feature with OpenCL™ sample code

This article will introduce the GPU In-kernel Profiling feature in Intel® VTune™ Amplifier, using one of the OpenCL™ samples from the Intel® SDK for OpenCL™ Applications. We will cover a brief introduction to OpenCL and the Intel SDK for OpenCL Applications, as well as walking through the process of profiling an OpenCL application using VTune Amplifier's GPU profiling features.

What is OpenCL?

OpenCL is the open standard for parallel programming of heterogeneous systems: 

  • C/C++
  • Intermediate
  • Intel® Parallel Studio XE
  • Intel® VTune™ Amplifier
  • Intel® SDK for OpenCL™ Applications
  • OpenCL*
  • Platform Analysis
  • Message Protocol error

    Symptom: Protocol error message

    Solution: Change firewall settings, or debugging port

    If you receive a "Protocol error" message, you need to change your firewall settings, or change the debugging port in the OpenCL™ Debugger plug-in for Microsoft Visual Studio* IDE.

    Editing the Variables

    To edit the variables in the system using the Kernel Development Framework, do the following:

    1. Open the Code Builder Variable Management view.
    2. Right-click a variable name.
    3. Click Edit Variable.
    4. Change the desired properties and click OK.

    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 OpenCL GPU Debugger installation walkthrough and demonstrates how to use the debugger to debug an OpenCL sample application.

    Analysis Results

    After you finish running the application, the new analysis session that you created appears in the Analyze Sessions Explorer window and a results view appears in Visual Studio* main area.

    Subscribe to Intel® SDK for OpenCL™ Applications