Repository navigation
Add sort NVHPC stdpar smoke test - #11881
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughAdds a stdpar sort test. It checks CCCL version macros and compares parallel ascending and descending sorts with Changesstdpar Sort Test
Priority: ⬇️ Low Change: Other Merge Risk: ⚪ Minimal · up to No actionable merge-blocking concern remains; the test can merge after normal checks.
Comment |
|
@bernhardmgruber thanks for merging the stable_sort test! This is the matching one for sort, whenever you have a moment. |
|
/ok to test 56b1072 |
🥳 CI Workflow Results🟩 Finished in 1h 06m: Pass: 100%/2 | Total: 1h 10m | Max: 1h 06m | Hits: 0%/0See results here. AI failure analysis1. cuopt compilation uses unavailable RMM stream APIs · 1 jobExplanation: The cuopt main checkout is compiled against RMM 26.12 main, but its source still invokes RMM stream APIs unavailable in that dependency, causing multiple compilation units to fail. The PR diff only adds `test/stdpar/tests/sort.cpp`, so the evidence indicates an unrelated cuopt/RMM dependency-alignment failure. Evidence: Copy this prompt into a coding agentJobs: |
Summary
Adds a
std::sortsmoke test for #6486. It covers both overloads that take an execution policy (default order and a custom comparator).The input has lots of duplicate keys, and each parallel sort is checked against a regular
std::sortof the same data. It also checks that sorting an empty range changes nothing. CMake picks it up automatically like the other stdpar tests.Testing
/W4 /WX, next to the existingany_oftest.-stdpar=gpuisn't checked yet. Relying on CI for that.