hcc icon indicating copy to clipboard operation
hcc copied to clipboard

extractkernel for rdc code

Open brad-mengchi opened this issue 3 years ago • 2 comments

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!

brad-mengchi avatar May 18 '21 23:05 brad-mengchi

+@david-salinas

searlmc1 avatar May 19 '21 00:05 searlmc1

Since hcc is no longer supported. I also move this question to https://github.com/ROCm-Developer-Tools/HIP/issues/2274.

brad-mengchi avatar May 19 '21 00:05 brad-mengchi

https://github.com/ROCm/HIP/issues/2274 has been closed, so closing this as well

lamb-j avatar May 15 '24 17:05 lamb-j