Skip to content

[Issue]: --amdgpu-target is deprecated #1087

@e-kwsm

Description

@e-kwsm

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 ")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions