Copying Variables

To create a copy of buffer, image, or sampler variable when using the Kernel Development Framework, do the following:

  1. Open the Code Builder Variable management window.
  2. Right-click a buffer, image, or sampler name you want to copy.
  3. Click Copy Variable.

Debugging OpenCL™ Kernels on CPU

OpenCL™ Debugger plug-in for Microsoft Visual Studio* IDE enables debugging OpenCL kernels using the Microsoft Visual Studio software debugger GUI. The Debugger enables debugging host code and OpenCL kernels in a single Microsoft Visual Studio debug session.

Debugger supports existing Microsoft Visual Studio debugging windows such as:

Troubleshooting the GPU Kernel Debugger

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.

Trace View

The trace view contains trace of all OpenCL™ API Calls during the execution, API call arguments, returned values, error codes, and time of execution.

To access the trace view, select CODE BUILDER > OpenCL Debugger > Trace View.

Subscribe to Linux*