[CUB] Refactor DeviceHistogram::MultiHistogramEven to always take an environment#9552
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
/ok to test e74bf49 |
|
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 (2)
🚧 Files skipped from review as they are similar to previous changes (2)
Summary
Testing
Walkthrough
ChangesMultiHistogramEven env dispatch migration and tests
Suggested reviewers
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (2)
cub/test/catch2_test_device_histogram_env.cu (2)
1086-1088: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick winimportant:
cudaDeviceSynchronize()masks stream propagation failures. If this overload ignoresenvand launches on the default stream, the stream sections can still pass. Use stream-specific synchronization or a stream-ordered event/sentinel for the stream env cases. As per path instructions, focus on stream behavior incub/**/*.Source: Path instructions
1125-1135: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winimportant: add a section with an actual custom histogram tuning/policy selector.
cuda::execution::gpuonly proves the policy object is accepted; it does not prove the user-provided-memory overload reads tuning fromenv, which is the stated PR objective.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 4fcc6884-b84f-4c5b-9be5-3b67d855da77
📒 Files selected for processing (2)
cub/cub/device/device_histogram.cuhcub/test/catch2_test_device_histogram_env.cu
This comment has been minimized.
This comment has been minimized.
e74bf49 to
a21bfcd
Compare
…n environment We want to be able to pass tunings to the APIs that take user provided memory.
a21bfcd to
d93e20c
Compare
🥳 CI Workflow Results🟩 Finished in 1h 43m: Pass: 100%/287 | Total: 2d 19h | Max: 56m 42s | Hits: 89%/223793See results here. |
Description
closes
Checklist