intel / llvm

Intel staging area for llvm.org contribution. Home for Intel LLVM-based projects.
Other
1.26k stars 743 forks source link

Debugging ESIMD #12850

Open DDEle opened 9 months ago

DDEle commented 9 months ago

Is your feature request related to a problem? Please describe I'm trying to gdb-oneapi an esimd-based project on A770 GPU. I notice that I cannot get value for most of variables in the kernel.

Taking the vadd_usm as an example:

Describe the solution you would like Enabling gdb-oneapi for esimd programs

Describe alternatives you have considered N/A

Additional context I installed the gpu driver based on instructions here, while manually specified the kernel version to be 5.19. After that, I set up the GPU debugger. So that,

sarnex commented 9 months ago

Unfortunately IGC's vector backend doesn't support debugging, so we can't do much better at the moment.

FYI: @intel/dpcpp-esimd-reviewers