Fix WarpScan::InclusiveScan with ReduceByKeyOp dropping the first segment of a warp #12768
All Vouch review confidence checks passed
Residual risk 0.13 = Change Risk (0.33) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 65 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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.289
Diff Size
diff_size
0.251
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #12768"
general
weight: 0.35
fbusato
Since #6099, the
ReduceByKeyOpspecialization ofWarpScanShfl::InclusiveScancomputes the first lane of the segment that starts at lane 0 as -1, so that segment is never accumulated (or, with a generic operator, its values are combined with themselves). This restores the pre-#6099max(0, 31 - __clz(ballot)), which also generates better SASS on sm_100+ than clamping the__bit_log2result (see the issue), and adds John Pennycook's test.Fixes #12766
🤖 Generated with Claude Code