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.
1663 Discussions

Debug an access violation on the CPU

Polar01
Beginner
115 Views

Hi,

Is there a way to debug a crash (an access violation) with the debugger ? (Or another way) ?

I got a crash in a kernel... but don't know where it happend in the code !!

0 Kudos
1 Reply
Raghupathi_M_Intel
115 Views

Since the kernel is JITed it is somewhat challenging to debug. One way I have done this in the past is to isolate the crash to a particular function and then to a particular line by commenting/uncommenting code.

 

Reply