Unify and optimize the histogram kernels. #12630
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 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
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #12630"
general
weight: 0.35
RAMitchell
The kernel is simplified: no more tile loops, no binary searching, etc. But the complexity has been moved into host planning, which estimates the cost of launching blocks.
In-core performance
Comparison should not be made between GPUs, as they have different memory capacities and hence different dataset sizes in the benchmarks.
A100 (NVIDIA A100 80GB PCIe)
| Features | Targets | Grow policy | c2ca8c99a (s) | 4161c075a (s) | Change vs c2ca8c99a (%) |
|---------:|--------:|-------------|--------------:|--------------:|------------------------:|
| 256 | 1 | depthwise | 78.19 | 59.17 | -24.32% |
| 256 | 4 | depthwise | 230.79 | 228.26 | -1.09% |
| 256 | 1 | lossguide | 78.36 | 59.73 | -23.78% |
| 256 | 4 | lossguide | 231.46 | 223.94 | -3.25% |
| 512 | 1 | depthwise | 168.09 | 130.28 | -22.49% |
| 512 | 4 | depthwise | 508.59 | 528.14 | +3.85% |
| 512 | 1 | lossguide | 168.35 | 127.61 | -24.20% |
| 512 | 4 | lossguide | 509.36 | 505.11 | -0.83% |
RTX PRO 6000 Blackwell
| Features | Targets | Grow policy | c2ca8c99a (s) | 4f8b3185c (s) | Change vs 05d41a90c (%) |
|---------:|--------:|-------------|--------------:|--------------:|------------------------:|
| 256 | 1 | depthwise | 34.82 | 27.57 | -14.59% |
| 256 | 4 | depthwise | 102.07 | 98.85 | -12.80% |
| 256 | 1 | lossguide | 35.09 | 30.30 | -9.17% |
| 256 | 4 | lossguide | 100.01 | 105.42 | +4.23% |
| 512 | 1 | depthwise | 73.41 | 62.99 | -7.75% |
| 512 | 4 | depthwise | 212.25 | 227.29 | -11.74% |
| 512 | 1 | lossguide | 73.68 | 63.61 | -9.54% |
| 512 | 4 | lossguide | 214.72 | 227.07 | +6.97% |
RTX PRO 6000 Blackwell (imbalanced histograms)
| Features | Targets | Max depth | Grow policy | c2ca8c99a (s) | 4f8b3185c (s) | Change vs c2ca8c99a (%) |
|---------:|--------:|----------:|-------------|--------------:|--------------:|------------------------:|
| 4080 | 1 | 6 | depthwise | 27.80 | 25.35 | -8.79% |
| 4080 | 1 | 8 | depthwise | 40.65 | 34.07 | -16.20% |
| 4080 | 1 | 6 | lossguide | 30.67 | 28.62 | -6.69% |
| 4080 | 1 | 8 | lossguide | 44.17 | 39.68 | -10.18% |
| 4080 | 4 | 6 | depthwise | 111.08 | 96.81 | -12.85% |
| 4080 | 4 | 8 | depthwise | 170.33 | 126.26 | -25.87% |
| 4080 | 4 | 6 | lossguide | 110.05 | 98.46 | -10.53% |
| 4080 | 4 | 8 | lossguide | 173.67 | 132.08 | -23.95% |
GH200 (NVIDIA GH200 480GB)
| Features | Targets | Grow policy | c2ca8c99a (s) | 4f8b3185c (s) | Change vs c2ca8c99a (%) |
|---------:|--------:|-------------|--------------:|--------------:|------------------------:|
| 256 | 1 | depthwise | 40.45 | 39.95 | -1.24% |
| 256 | 4 | depthwise | 149.95 | 150.91 | +0.64% |
| 256 | 1 | lossguide | 40.64 | 40.54 | -0.25% |
| 256 | 4 | lossguide | 151.54 | 153.55 | +1.33% |
| 512 | 1 | depthwise | 85.98 | 85.70 | -0.33% |
| 512 | 4 | depthwise | 330.37 | 333.68 | +1.00% |
| 512 | 1 | lossguide | 86.21 | 86.42 | +0.24% |
| 512 | 4 | lossguide | 332.01 | 335.51 | +1.05% |
RTX 4070 Ti SUPER
| Features | Targets | Grow policy | c2ca8c99a (s) | 4161c075a (s) | Change vs c2ca8c99a (%) |
|---------:|--------:|-------------|--------------:|--------------:|------------------------:|
| 256 | 1 | depthwise | 21.95 | 17.82 | -18.81% |
| 256 | 4 | depthwise | 70.84 | 62.67 | -11.54% |
| 256 | 1 | lossguide | 22.48 | 18.59 | -17.33% |
| 256 | 4 | lossguide | 73.25 | 64.88 | -11.44% |
| 512 | 1 | depthwise | 46.84 | 37.64 | -19.63% |
| 512 | 4 | depthwise | 160.94 | 143.38 | -10.91% |
| 512 | 1 | lossguide | 47.59 | 37.88 | -20.41% |
| 512 | 4 | lossguide | 164.33 | 142.12 | -13.52% |
DGX Spark (NVIDIA GB10)
| Features | Targets | Grow policy | c2ca8c99a (s) | 4161c075a (s) | Change vs c2ca8c99a (%) |
|---------:|--------:|-------------|--------------:|--------------:|------------------------:|
| 256 | 1 | depthwise | 48.56 | 33.15 | -31.74% |
| 256 | 4 | depthwise | 153.72 | 98.91 | -35.66% |
| 256 | 1 | lossguide | 48.01 | 33.55 | -30.11% |
| 256 | 4 | lossguide | 155.49 | 100.59 | -35.30% |
| 512 | 1 | depthwise | 105.43 | 66.56 | -36.87% |
| 512 | 4 | depthwise | 392.73 | 228.09 | -41.92% |
| 512 | 1 | lossguide | 105.80 | 65.26 | -38.31% |
| 512 | 4 | lossguide | 535.14 | 215.40 | -59.75% |