feat(hipcub): Add CCCL 3.0.x support - #4079
Conversation
b533ef0 to
f0e93d0
Compare
f0e93d0 to
425029f
Compare
425029f to
45bf6cd
Compare
64c2f95 to
a6bd6e0
Compare
a6bd6e0 to
01c6c4a
Compare
|
There are merge conflicts and it looks like the RadixSort 4g test is still failing as well as DeviceMerge. Rerunning CI to make sure it isn't a flaky CI problem, but perhaps the RadixSort test fix is not quite there yet. |
|
@matyas-streamhpc RadixSort 4G test is timing out on Windows + gfx1151 47/47 Test #23: hipcub.DeviceRadixSort ............***Timeout 305.22 sec Also please resolve the merge conflicts, I am unable to run math-ci until then. |
01c6c4a to
5129a04
Compare
I rebased the branch and I added the fix for Windows. The CI job is passing for Windows now. |
e012a58 to
c38a3c2
Compare
b146369 to
89a22db
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #4079 +/- ##
============================================
- Coverage 67.26% 39.04% -28.22%
============================================
Files 1844 152 -1692
Lines 284014 25692 -258322
Branches 39839 567 -39272
============================================
- Hits 191037 10031 -181006
+ Misses 76518 15284 -61234
+ Partials 16459 377 -16082
🚀 New features to boost your workflow:
|
89a22db to
6019c3c
Compare
6019c3c to
555b351
Compare
|
This pull request has been inactive for 25 days and will be marked as stale. If you would like to keep this PR open, please:
This PR will be automatically closed in 5 days if no further activity occurs. |
555b351 to
1441fba
Compare
5f74f48 to
95883a9
Compare
Dismissing old review since the issues have been addressed.
Note: this is a rocm-libraries-based copy of #4079 in case we need to make immediate changes. Add CCCL 3.0.x support for hipCUB library. Additional updates: fix CUB backend JIRA ID : EXSWSTRHPC-300 --------- Co-authored-by: Mátyás Aradi <matyas@streamhpc.com> Co-authored-by: Nara Prasetya <nara@streamhpc.com> Co-authored-by: Cenxuan Tian <cenxuan@streamhpc.com> Co-authored-by: Nguyen <zenguyen@amd.com>
feat(hipcub): Add CCCL 3.0.x support (copy) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: this is a rocm-libraries-based copy of ROCm/rocm-libraries#4079 in case we need to make immediate changes. Add CCCL 3.0.x support for hipCUB library. Additional updates: fix CUB backend JIRA ID : EXSWSTRHPC-300
feat(hipcub): Add CCCL 3.0.x support (copy) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: this is a rocm-libraries-based copy of ROCm/rocm-libraries#4079 in case we need to make immediate changes. Add CCCL 3.0.x support for hipCUB library. Additional updates: fix CUB backend JIRA ID : EXSWSTRHPC-300
feat(hipcub): Add CCCL 3.0.x support (copy) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Note: this is a rocm-libraries-based copy of ROCm/rocm-libraries#4079 in case we need to make immediate changes. Add CCCL 3.0.x support for hipCUB library. Additional updates: fix CUB backend JIRA ID : EXSWSTRHPC-300
|
Copy of PR made and modifications merged in #9931 |
|
Closing this PR, since the modified copy (#9931) has been merged. |
…RSION' (pytorch#188072) # Context Recreated pytorch#184552 from personal fork. hipCUB is targeting to be compatible with CCCL 3.0 (ROCm/rocm-libraries#4079). This requires updating some of the CUB and hipCUB compatibility glue. To help this transition hipCUB will be exposing `HIPCUB_CCCL_VERSION` in one of the following ROCm releases (>=7.14) (ROCm/rocm-libraries#7632), which will be bumped once hipCUB reaches parity with CCCL 3.0 and beyond. This PR is created in anticipation for this future changes. # Implementation - Introduce dependency on [`libhipcxx`](https://github.com/ROCm/libhipcxx). - Guard `FpLimits` for `c10::BFloat16` backport to pre CCCL 3.x. Numeric limits are handled by libhipcxx. - Extend `CUB_VERSION` derivation for hipCUB. Keep old fallback for backwards compatibility. Only enable CUB V3 API once hipCUB reaches parity with CCCL 3.x. Pull Request resolved: pytorch#188072 Approved by: https://github.com/jeffdaily
…RSION' (pytorch#188072) # Context Recreated pytorch#184552 from personal fork. hipCUB is targeting to be compatible with CCCL 3.0 (ROCm/rocm-libraries#4079). This requires updating some of the CUB and hipCUB compatibility glue. To help this transition hipCUB will be exposing `HIPCUB_CCCL_VERSION` in one of the following ROCm releases (>=7.14) (ROCm/rocm-libraries#7632), which will be bumped once hipCUB reaches parity with CCCL 3.0 and beyond. This PR is created in anticipation for this future changes. # Implementation - Introduce dependency on [`libhipcxx`](https://github.com/ROCm/libhipcxx). - Guard `FpLimits` for `c10::BFloat16` backport to pre CCCL 3.x. Numeric limits are handled by libhipcxx. - Extend `CUB_VERSION` derivation for hipCUB. Keep old fallback for backwards compatibility. Only enable CUB V3 API once hipCUB reaches parity with CCCL 3.x. Pull Request resolved: pytorch#188072 Approved by: https://github.com/jeffdaily
…RSION' (pytorch#188072) # Context Recreated pytorch#184552 from personal fork. hipCUB is targeting to be compatible with CCCL 3.0 (ROCm/rocm-libraries#4079). This requires updating some of the CUB and hipCUB compatibility glue. To help this transition hipCUB will be exposing `HIPCUB_CCCL_VERSION` in one of the following ROCm releases (>=7.14) (ROCm/rocm-libraries#7632), which will be bumped once hipCUB reaches parity with CCCL 3.0 and beyond. This PR is created in anticipation for this future changes. # Implementation - Introduce dependency on [`libhipcxx`](https://github.com/ROCm/libhipcxx). - Guard `FpLimits` for `c10::BFloat16` backport to pre CCCL 3.x. Numeric limits are handled by libhipcxx. - Extend `CUB_VERSION` derivation for hipCUB. Keep old fallback for backwards compatibility. Only enable CUB V3 API once hipCUB reaches parity with CCCL 3.x. Pull Request resolved: pytorch#188072 Approved by: https://github.com/jeffdaily
Add CCCL 3.0.x support for hipCUB library.
Additional updates: fix CUB backend
JIRA ID : EXSWSTRHPC-300