← Back to Pull requests

[smoke] Retarget the generic mode block size tests and move them to smoke-dev #2480

Closed
unknown closed this pull request without merging on Aug 30, 2026 00:55 UTC
View on GitHub
unknown unknown commented on Aug 29, 2026 15:25 UTC
Author

Companion to ROCm/llvm-project#4196, which takes upstream's generic mode block
layout: a pure generic kernel's block is widened by a whole warp for the main
thread rather than by the single thread we added. Seven tests pin the old
geometry and fail the moment that change lands — no-loop-split-2,
no-loop-split-3 and big-jump-loop-split-2/3/4 in smoke, plus
workgroup_size_option1 and workgroup_size_option2 in smoke-limbo. All
seven still print Success; it is only the ConstWGSize in their FileCheck
lines that is stale.

The first two commits retarget them. A 256-thread generic kernel goes from 257
to 288 on wave32 and 320 on wave64, so those checks accept either rather than a
single number; workgroup_size_option1's 1024-thread kernel goes from 961/993
to 1024 on both wave sizes, which collapses its two wave-specific check lines
into one and lets its Makefile stop selecting a prefix; and
workgroup_size_option2's 128-thread kernel goes from 129 to 192. The third
commit moves all seven to smoke-dev, since smoke and smoke-limbo are not
versioned and have to keep passing against the compilers already in the field,
which still produce the old numbers. That follows no-loop-4 and no-loop-7 in
aa1aa88f; these can come back in twelve weeks.

Testing

gfx90a (MI210), against a build of ROCm/llvm-project#4196 at c284a1582d8f:

  • all seven pass from smoke-dev after the move

  • before the move, with the retargeting in place, smoke was 321/321 and

  • smoke-limbo 70/70

    The wave32 values are inferred rather than measured, as the machine has no
    gfx10/11/12 part, so the gfx110X and gfx1151 legs of ROCm/llvm-project#4196 are
    what will confirm them.

    Made with Cursor

    Diff: 216 lines (+162 / -54) across 2 files Reviewer: dhruvachak Review duration: 570m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 216 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.322
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2480"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.6% (MEDIUM) · Higher = larger blast radius
    36.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.5% · Safe to merge
    14.5%
    Repository