You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
This is more of a question than an issue.
Is there a way to disassemble the generated amdcgn code when compiling a fortran openmp program with target directives?
Currently, I am doing a kind of trick: generating the assembly with -S and then manually extracting the amdcgn from the .Lllvm.embedded.object string inside.
Operating System
Ubuntu 22.04
CPU
AMD EPYC 9654 96-Core Processor
GPU
AMD MI300X
ROCm Version
ROCm 6.2.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Hi @Luigi-Crisci, you can also get the assembly by adding the -save-temps flag to save intermediate compilation results and look for *-openmp-amdgcn-amd-amdhsa.s file. It will contain more information than just the kernel assembly. Hope it helps.
Problem Description
Hi,
This is more of a question than an issue.
Is there a way to disassemble the generated amdcgn code when compiling a fortran openmp program with target directives?
Currently, I am doing a kind of trick: generating the assembly with
-S
and then manually extracting the amdcgn from the.Lllvm.embedded.object
string inside.Operating System
Ubuntu 22.04
CPU
AMD EPYC 9654 96-Core Processor
GPU
AMD MI300X
ROCm Version
ROCm 6.2.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: