Developer Guide for Intel® SDK for OpenCL™ Applications
You can configure several features of the Intel® SDK for OpenCL™ Applications - API Debugger, go to Tools > Intel Code Builder for OpenCL API > OpenCL API Debugger > Options to open the Code Builder - Debugger Configuration dialog box, and select the API Debugger tab:
To do this... | Do this: |
---|---|
Configure the number of states to save per each memory object (Image, Buffers and SubBuffers). | In the Number of previous states field, set the appropriate number of states. |
Enable raw data tracing. | Check the Enable Raw Data Tracing box. Note that this feature may cause performance degradation. |
Dump image bitmaps. | Check the Enable Image Bitmap Tracing box. Note that this feature may cause performance degradation. |
Enable automatic memory tracing. | In the Other settings group, check the Auto-generate
session box. This option creates a separate directory for each captured session of the plug-in. The directory is stored under the Output Folder specified in the same window. |
Configure the data buffering size. | In the Data buffering size (bytes) field,
enter the appropriate number of bytes for the data buffer. Note that when debugging memory-bound applications, you many need to reduce the size of the buffer. |
Set a custom port for API debugging. | Check the Use Custom Port box and set the appropriate port number in the text field. |
And can be enabled via:
Tools > Intel Code Builder for OpenCL API > OpenCL API Debugger > Options to open the Code Builder - Debugger Configuration dialog box, and select the API Debugger tab Other settings > Auto-generate session
Profiling performance measured by either clGetEventProfilingInfo runtime API call or any other method for measuring execution time or occupied host memory, may cause performance degradation.
To get more accurate profiling results, use the runtime directly via Ctrl+F5, Start w/o Debugging, or disabling API Debugger in the plug-in configuration menu.