Repository navigation
Remove uses of hipconfig: derive HIP version from find_package(hip) - #5708
Conversation
nileshnegi
left a comment
There was a problem hiding this comment.
Approved for changes to RCCL and RCCL-Tests
886e32c to
5d26b14
Compare
1a9a173 to
dabc306
Compare
When CMAKE_HIP_ARCHITECTURES is set to OFF without an alternative, test kernels compile only for clang's default arch. Override with GPU_TARGETS (injected by TheRock's toolchain) so --offload-arch flags match the intended target architectures. Addresses amd-argus review feedback on PR #5708. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
ARGUS
This PR changes 1,879 lines across 32 files. A change this size is hard to review
well, for a person and for this bot alike: reviewers lose the thread, defects hide in the
volume, and the feedback arrives too late to be cheap to act on. Splitting it into a
stacked pull request
gives each piece a reviewable diff and keeps the history. This review covers the whole change
regardless.
Bottom line: Worth settling before approval: a space-separated GPU_TARGETS (the build.sh default) becomes one invalid CMAKE_HIP_ARCHITECTURES entry at roctracer/test/CMakeLists.txt:31 and the four rocprofiler copies.
Comment @argus review to re-run, or @argus re-review after pushing.
GPU_TARGETS may arrive space-separated (e.g. from build.sh) but CMAKE_HIP_ARCHITECTURES requires a semicolon-delimited CMake list. Use string(REPLACE) to convert spaces so clang receives correct --offload-arch flags instead of treating extra targets as input files. Addresses amd-argus review feedback on PR #5708. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🤖 AI-assisted pre-review (for @mangupta) Re-reviewed the updated head ( |
There was a problem hiding this comment.
ARGUS
This PR changes 1,879 lines across 32 files. A change this size is hard to review
well, for a person and for this bot alike: reviewers lose the thread, defects hide in the
volume, and the feedback arrives too late to be cheap to act on. Splitting it into a
stacked pull request
gives each piece a reviewable diff and keeps the history. This review covers the whole change
regardless.
Bottom line: LGTM.
Comment @argus review to re-run, or @argus re-review after pushing.
pr-rocm-systems-5708-oci-rccl-pr-smokeBuilds
FailuresNo failing tests in this run. 15 tests skipped. |
pr-rocm-systems-5708-ruby64-rccl-pr-smokeBuilds
FailuresNo failing tests in this run. 15 tests skipped. |
|
🤖 AI-assisted pre-review (for @mangupta) Re-reviewed the updated head ( |
pr-rocm-systems-5708-oci-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-oci-rccl-pr-smokeBuilds
Failures
15 tests skipped. |
pr-rocm-systems-5708-ruby64-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-ruby64-rccl-pr-smokeBuilds
Failures
200 tests blocked and 15 tests skipped. |
pr-rocm-systems-5708-oci-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-oci-rccl-pr-smokeBuilds
Failures
15 tests skipped. |
pr-rocm-systems-5708-oci-rccl-pr-smokeBuilds
FailuresNo failing tests in this run. 15 tests skipped. |
pr-rocm-systems-5708-ruby64-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-ruby64-rccl-pr-smokeBuilds
Failures
200 tests blocked and 15 tests skipped. |
pr-rocm-systems-5708-ruby64-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-ruby64-rccl-pr-smokeBuilds
Failures
15 tests skipped. |
|
I created a therock test-build to verify that these changes does not break it and it passed: tensilelite, rocfft and rocsparse errors is known issue in quick mode: |
lamikr
left a comment
There was a problem hiding this comment.
Review suggestions have been applied tests are passing (except unrelated known 3 failures) and also therock test build passed with these changes included.
pr-rocm-systems-5708-oci-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-oci-rccl-pr-smokeBuilds
Failures
15 tests skipped. |
pr-rocm-systems-5708-oci-rccl-pr-smokeBuilds
FailuresNo failing tests in this run. 15 tests skipped. |
pr-rocm-systems-5708-ruby64-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-ruby64-rccl-pr-smokeBuilds
Failures
200 tests blocked and 15 tests skipped. |
pr-rocm-systems-5708-ruby64-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-ruby64-rccl-pr-smokeBuilds
Failures
15 tests skipped. |
pr-rocm-systems-5708-ruby64-rccl-pr-buildBuilds
FailuresNo failing tests in this run. 183 tests skipped. pr-rocm-systems-5708-ruby64-rccl-pr-smokeBuilds
Failures
15 tests skipped. |
TheRock Submodule Bump ActivityNewest first
|
Motivation
Remove functional calls to hipconfig and legacy hipcc wrapper scripts from the rocm-systems stack. hipconfig is a legacy companion to the hipcc wrapper and is being deprecated in favor of CMake-native HIP support (find_package(hip CONFIG)) and direct file-based alternatives. See the
https://rocm.docs.amd.com/en/latest/reference/rocmcc.html for background.
Technical Details
HIP
CLR
RCCL
Also adds missing --offload-host-only and -no-hip-rt flags to rccl-source-wrappers.
HIP Tests
ROCprofiler
ROCtracer
Issue Tracking
JIRA ID: ROCM-8370
Test Plan
Test Result
Submission Checklist