← Back to Pull requests

add path for TRTRZ and UNMRZ in ILAENV #1325

Closed
unknown closed this pull request without merging on Jul 14, 2026 20:07 UTC
View on GitHub
unknown unknown commented on Jul 14, 2026 10:34 UTC
Author

This completes #1289

In #1289, @jschueller introduced dedicated paths for CTZRZF (NB2) and CUNMRZ (NB4) in GELSY

      INFO = 0
      NB1 = ILAENV( 1, 'CGEQRF', ' ', M, N, -1, -1 )
-      NB2 = ILAENV( 1, 'CGERQF', ' ', M, N, -1, -1 )
+      NB2 = ILAENV( 1, 'CTZRZF', ' ', M, N, -1, -1 )
      NB3 = ILAENV( 1, 'CUNMQR', ' ', M, N, NRHS, -1 )
-      NB4 = ILAENV( 1, 'CUNMRQ', ' ', M, N, NRHS, -1 )
+      NB4 = ILAENV( 1, 'CUNMRZ', ' ', M, N, NRHS, -1 )
      NB = MAX( NB1, NB2, NB3, NB4 )
      LWKOPT = MAX( 1, MN+2*N+NB*(N+1), 2*MN+NB*NRHS )
      WORK( 1 ) = CMPLX( LWKOPT )

But, as pointed out by @martin-frbg, https://github.com/Reference-LAPACK/lapack/pull/1289#issuecomment-4791782275, these paths did not exist in ILAENV. So then ILAENV was returning the default value of NB2 = 1 and NB4 = 1.

We might accept the previous code (before PR #1289) as saying "the optimal block size for TZRZF is the same as the block size for GERQF", so we do not need to create a dedicated path for TZRZF in ILAENV, we simply call ILAENV with argument GERQF.

This commits keeps the PR as is and adds the two paths to ILAENV.

Note: It might feel "lazy" to drop the paths at the start like this. But I think it is better than hide the paths in a series of nested IFs. They are cons and pros to the nested IFs. I chose to drop it at the top.

Diff: 171 lines (+128 / -43) across 2 files Reviewer: martin-frbg Review duration: 572m
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.35) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.35 · 171 lines diff across 2 files
0.35
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.308
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1325"
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: 35.2% (MEDIUM) · Higher = larger blast radius
35.2%
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: 13.9% · Safe to merge
13.9%