hcc
hcc copied to clipboard
extractkernel for rdc code
Hi all,
I tried to write a global kernel and a device function and compile device function in a relocatable way(-fgpu-rdc). Then I tried to use extractkernel script to dump the AMD GPU assembly code.
Seems that it fails to dump since there is no .hip_fatbin section after extracting(objdump -h) the executable. So does anyone know which section (names) extractkernel needs to recognize to dump GPU kernel assembly?
P.S.: I am using ROCm 4.0.0 with clang(llvm) 12.
Thanks!
+@david-salinas
Since hcc is no longer supported. I also move this question to https://github.com/ROCm-Developer-Tools/HIP/issues/2274.
https://github.com/ROCm/HIP/issues/2274 has been closed, so closing this as well