intel / pti-gpu

Profiling Tools Interfaces for GPU (PTI for GPU) is a set of Getting Started Documentation and Tools Library to start performance analysis on Intel(R) Processor Graphics easily
MIT License
202 stars 57 forks source link

[WARNING] Unable to decode kernel binary #4

Closed zjin-lcf closed 3 years ago

zjin-lcf commented 3 years ago

I followed the build instruction, but running cl_debug_info always shows the message. However, the gpu_instruction_count test can display the assembly of an application. This seems generic, so a specific application is not listed. Any suggestions ?

Thanks

anton-v-gorshkov commented 3 years ago

Hi, sorry for long answer - looks like github doesn't send us any notifications on new issues. Difficult to say from scratch. If you could provide your application with build/run instructions - we could check on our side.

zjin-lcf commented 3 years ago

Does cl_debug_info decode a SYCL kernel ?

anton-v-gorshkov commented 3 years ago

Yes, it tries to decode SYCL kernel but for OpenCL backend only and for GPU only. DPC++ is working on top of Level Zero for GPU and on top of OpenCL for CPU currently. So if you need GPU kernel decoding - try to use ze_debug_info tool instead. Also note that to get kernel symbols one may need to build his DPC++ application with "-gline-tables-only" flag.