ROCm / hcc

HCC is an Open Source, Optimizing C++ Compiler for Heterogeneous Compute currently for the ROCm GPU Computing Platform
https://github.com/RadeonOpenCompute/hcc/wiki
Other
424 stars 106 forks source link

extractkernel for rdc code #1452

Closed brad-mengchi closed 1 month ago

brad-mengchi commented 3 years ago

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!

searlmc1 commented 3 years ago

+@david-salinas

brad-mengchi commented 3 years ago

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

lamb-j commented 1 month ago

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