cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

Highlighted
Journeyman III
Journeyman III

How is the print information recorded in the OpenCL kernel ELF

Hi, I was trying to figure out how is the device printf implemented.

I found that https://llvm.org/docs/AMDGPUUsage.html#amdgpu-amdhsa-code-object-metadata-map-table-v3 shows the printf information in the kernel ELF.

However, it only worked for kernels compiled by LLVM, not AMDGPU-PRO.

So, I was wondering how the printf is recorded in ELFs generated by AMDGPU-PRO.

0 Kudos
Reply