https://rocm.docs.amd.com/projects/HIP/en/docs-5.0.2/markdown/hip_porting_guide.html#compiler-options-supported-on-amd-platforms
Option --amdgpu-target is deprecated at least 5.0.2 (the oldest online document), which is replaced by --offload-arch.
The option is used at e.g.
|
set(HCC_CXX_FLAGS "-Xlinker --enable-new-dtags -fno-gpu-rdc --amdgpu-target=gfx803 --amdgpu-target=gfx900 --amdgpu-target=gfx906 --amdgpu-target=gfx908 ") |
https://rocm.docs.amd.com/projects/HIP/en/docs-5.0.2/markdown/hip_porting_guide.html#compiler-options-supported-on-amd-platforms
Option
--amdgpu-targetis deprecated at least 5.0.2 (the oldest online document), which is replaced by--offload-arch.The option is used at e.g.
ROCmValidationSuite/babel.so/CMakeLists.txt
Line 71 in ca71668