AMD GPU language support
In addition to the native hipcc
compiler, other compilers support offloading to AMD GPU.
ROCmCC with offloading OpenMP
Linaro DDT supports debugging both the host and AMD parts of OpenMP programs using offloading
when compiled with the AMD ROCm compiler ROCmCC
.
Linaro 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.
Cray with offloading OpenMP
Linaro DDT supports debugging both the host and AMD parts of OpenMP programs using offloading when compiled with the Cray Compiler.
Note
Debugging of OpenCL is not supported on the device.