[rocjitsu][consan] Trace selected application dispatches #16538
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.43) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 354 lines diff across 4 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
Diff Size
diff_size
0.351
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #16538"
general
weight: 0.35
hanhanW
The application adapter previously admitted only native dispatches, while
selected instrumentation required a qualified LDS access profile. An
application kernel without suitable LDS sites could run natively, but
could not produce selected execution evidence. Treating native completion
as probe execution would leave that gap hidden.
Add an
execution-tracepreparation profile for gfx1250 wave32 kernels.Reuse whole-image selection and shared DBI entry/terminal placement to
instrument entry and recognized exits. Admit selected trace dispatches
alongside native application work. Trace qualification supports closed
direct control flow, natural loops and zero LDS while retaining ABI,
register preservation and resource checks.
Give
ExecutionTraceits own scope, boundary facts and row interpretation.GPU probes record each wave's workgroup identity and one entry/exit pair;
host initialization leaves those observation fields unset. Keep LDS
phase/loss fields and initialization separate. The trace analyzer
validates saved identities and transport and reports
lds_analysis: not_performed, without an LDS race verdict.Own original argument snapshots before packet publication, and retain each
report lease until completion and an independent host copy. Observe
pending application launches independently of completion order, then write
owned snapshots in submission order. Trace completion records visibility
without claiming application-signal forwarding; controlled LDS captures
retain their existing execution-condition and forwarding requirements.
The initial trace profile accepts complete 1D workgroups, up to 512 groups,
with an original workgroup-X input and zero private segment. Calls,
indirect control flow, guest code-address reads, VGPR deallocation and
selected nonunit clusters remain unsupported. Probes and system fences
change execution overhead; timing equivalence is not claimed. Application
selected dispatch remains trace-only.
Update the producer contract for the new facts and capture semantics.
Existing prepared artifacts and captures must be regenerated; incompatible
contracts are rejected.
For example, prepare A and B from one whole A/B/C image:
Each row must contain one entry and one exit observation. The closed
capture remains analyzable in a fresh process after removing the original
image and prepared artifact. A selected nonunit-cluster packet is rejected
because its cluster coordinate cannot uniquely identify a report row;
the native path retains support for that packet form.