[cub] Use item terminology consistently in DeviceHistogram #11918
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 255 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.332
Real PR Conversation Timeline
1 comments
"Review active on #11918"
general
weight: 0.35
bernhardmgruber
Why
DeviceHistogram currently uses both “pixel” and “item” for the same logical unit: one interleaved input record containing one sample per channel. That makes the distinction between an input record and an individual channel sample harder to follow, especially in policy fields such as
items_per_thread.This cleanup standardizes the terminology before the histogram privatization work is upstreamed. “Item” means one logical interleaved input record, while “sample” remains one channel value.
What changed
num_itemscounts interleaved multi-channel records, and the input therefore containsNumChannels * num_itemsindividual samples.Validation
cccl.c.parallel.test.histogram: 304 assertions in 11 test cases.cccl.c.parallel.v2.test.histogram. Its runtime test is blocked on this SM100 host because the pinned host-JIT LLVM emits PTX 8.5 for SM100, while SM100 requires PTX 8.6; that pre-existing toolchain limitation is unrelated to these identifier-only changes.git diff --checkpassed.