Replies: 3 comments
-
There are no known limitations regarding the ability to debug kernels in What kind of kernel are you looking at?
|
Beta Was this translation helpful? Give feedback.
-
Thanks. It's just a basic parallel kernel using |
Beta Was this translation helpful? Give feedback.
-
Just want to add that it is only cpu/cpu.accelerated devices, in which kernels breakpoints don't hit. When working with NVidia devices and debugger, breakpoints hit just fine in the kernel code. |
Beta Was this translation helpful? Give feedback.
-
Hello. To workaround my issue with Debug builds, I've tried to build binary using
RelWithDebInfo
configuration with the-O0
compilation option andomp.library-only
target. I encountered an issue where breakpoints set in SYCL kernel code are not being hit. Breakpoints set in the host code are hit as expected.I have tried using both the
cpu_selector
andhost_selector
, but the issue persists in both cases.Could the inability to hit breakpoints in the kernel code be due to using the
RelWithDebInfo
configuration instead of a fullDebug
configuration?Is there a known limitation or issue with AdaptiveCpp regarding the debugging of SYCL kernels?
Are there specific steps or configurations required to enable debugging within SYCL kernel code that I might be missing?
Thank you in advance for your help and support.
Beta Was this translation helpful? Give feedback.
All reactions