Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (1)
OverviewThis PR refactors ChangesCore API refactor
Test coverage
PSTL CUDA backend updates
WalkthroughDevicePartition::Flagged migrates from explicit stream-based to environment-based execution dispatch. The API adds an EnvT template parameter and const-ref env parameter, dispatching via dispatch_with_env_and_tuning with computed policy selectors. Tests exercise sizing and multi-environment execution. PSTL rotate backends updated to pass execution policies. ChangesDevicePartition::Flagged Environment-Based Dispatch
Possibly related PRs
Suggested reviewers
Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
cub/cub/device/device_partition.cuh (1)
545-545: 💤 Low valuesuggestion: The env-based
Ifoverloads (lines 545 and 927) still use pass-by-valueEnvT env = {}, whileFlaggednow usesconst EnvT& env = {}. Consider aligning them in a follow-up for consistency.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 8ef08ec8-6918-47b2-9f80-cdd4d119a9a0
📒 Files selected for processing (8)
cub/cub/detail/env_dispatch.cuhcub/cub/device/device_find.cuhcub/cub/device/device_partition.cuhcub/test/catch2_test_device_find_env.cucub/test/catch2_test_device_partition_flagged.culibcudacxx/include/cuda/std/__pstl/cuda/find_if.hlibcudacxx/include/cuda/std/__pstl/cuda/rotate.hlibcudacxx/include/cuda/std/__pstl/cuda/rotate_copy.h
This comment has been minimized.
This comment has been minimized.
38e7d7c to
eac7282
Compare
This comment has been minimized.
This comment has been minimized.
We want to be able to pass tunings to the APIs that take user provided memory Make sure we can pass any environment or stream type to them
eac7282 to
45705b3
Compare
😬 CI Workflow Results🟥 Finished in 1h 32m: Pass: 81%/343 | Total: 5d 17h | Max: 1h 27m | Hits: 71%/660674See results here. |
We want to be able to pass tunings to the APIs that take user provided memory
Make sure we can pass any environment or stream type to them
Also update the PSTL algorithms to take advantage of that
DeviceFindIf#9318