OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU.
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.

debug kernel with inde

giuseppe_f_1
Beginner
325 Views

hello. I wish find a sample for debug kernels with intel inde, but i can't find any binars or tutorials. is possible use inde for debugs of the opencl kernels ? Can you advices to me a sample or a tutorial or better a binary? thanks.

I use inde opencl visual studio 13 addin

ps.sorry for my english

0 Kudos
1 Reply
Robert_I_Intel
Employee
325 Views

Hi Giuseppe,

Debugging kernels is fairly easy:

1. Make sure to select CPU device (currently, debugging is supported only on a CPU, GPU is coming shortly)

2. Follow these steps: https://software.intel.com/sites/landingpage/opencl/user-guide/Debugging_Your_OpenCL_Kernel_with_Intel_SDK_for_OpenCL_Debugger.htm

3. Followed by these steps: https://software.intel.com/sites/landingpage/opencl/user-guide/Configuring_Intel_SDK_for_OpenCL_Debugger.htm

4. Now you can just put breakpoints in your OpenCL code

5. If you have any issues, check https://software.intel.com/sites/landingpage/opencl/user-guide/Troubleshooting_the_Intel_SDK_for_OpenCL_Debugger.htm

Happy debugging!

0 Kudos
Reply