test: wait for the kernels the syevd and covariance GPU tests read #4024
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 307 lines diff across 3 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.343
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4024"
general
weight: 0.35
Vika-F
Description
Two GPU primitive tests read device results without depending on the kernel that writes them. The test queue is out of order, so on a loaded GPU the read can run first. Intel CI hit both on Intel GPU:
test_syevd_dpcsaw a0.0eigenvalue (check eigenvalues order is descending) andtest_cov_dpcsaw wrong variances (correlation on gold data,compare vars with gold).lapack/test/syevd_dpc.cpp: the descending case copies the flipped eigenvalues to the host without waiting for the flip kernel. The copy now depends onflip_event.stat/test/cov_dpc.cpp:- "correlation on gold data":
variancesreadscovbut depended on the GEMM event instead ofcovariance;meansandcovariancewere never waited for.variancesnow depends oncovariance, and the test waits for means, variances and correlation.- "correlation on diagonal data":
meanswas never waited for before it is checked.- "correlation on one-row table":
covarianceandcorrelationreadsumswithout depending on the event that assigns them.Only test code changes. The race does not reproduce on an idle local Intel GPU: both tests pass 50 out of 50 runs before and after the change, so there is no local before/after evidence; the fix follows from the missing dependencies.
---
<details>
<summary>Checklist:</summary>
Completeness and readability
Testing
Performance
</details>
🤖 Generated with Claude Code