In addition to the native hipcc
compiler, other compilers support offloading to AMD GPU.
Arm® DDT supports debugging both the host and AMD parts of OpenMP programs using offloading when compiled with the AMD ROCm compiler “ROCmCC”.
Arm recommends using these compiler flags to get an optimal debugging experience when offloading
OpenMP regions with amdclang
, amdclang++
and amdflang
:
-fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -Xopenmp-target=amdgcn-amd-amdhsa -march=<arch e.g gfx906>
For information about currently supported software versions, see Reference table.