Change to code object v4 by default to match ROCm 4.1.
This is upstream of code object v4 support from amd-stg-open branch.
Paths
| Differential D99235
[HIP] Change to code object v4 ClosedPublic Authored by yaxunl on Mar 23 2021, 9:01 PM.
Details
Summary Change to code object v4 by default to match ROCm 4.1. This is upstream of code object v4 support from amd-stg-open branch.
Diff Detail Event Timeline
yaxunl added inline comments.
This revision is now accepted and ready to land.Apr 6 2021, 3:11 PM Comment Actions Still LGTM.
Closed by commit rG4fd05e0ad7fb: [HIP] Change to code object v4 (authored by yaxunl). · Explain WhyApr 6 2021, 5:23 PM This revision was automatically updated to reflect the committed changes. yaxunl marked an inline comment as done. gregrodgers added inline comments.
Revision Contents
Diff 332859 clang/lib/Driver/ToolChains/CommonArgs.cpp
clang/lib/Driver/ToolChains/HIP.cpp
clang/test/Driver/hip-code-object-version.hip
clang/test/Driver/hip-target-id.hip
clang/test/Driver/hip-toolchain-device-only.hip
clang/test/Driver/hip-toolchain-no-rdc.hip
clang/test/Driver/hip-toolchain-rdc-separate.hip
clang/test/Driver/hip-toolchain-rdc-static-lib.hip
clang/test/Driver/hip-toolchain-rdc.hip
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
|
Should it be an error if we pass -mcode-object-version=99 ?