Skip to content

Fix sytrs! test: verify non-pivoting path directly instead of skipping#3039

Merged
maleadt merged 1 commit intomasterfrom
tb/cusolver_pivot
Mar 3, 2026
Merged

Fix sytrs! test: verify non-pivoting path directly instead of skipping#3039
maleadt merged 1 commit intomasterfrom
tb/cusolver_pivot

Conversation

@maleadt
Copy link
Member

@maleadt maleadt commented Mar 3, 2026

The non-pivoting cusolver path was compared against LAPACK which always uses pivoting, making the comparison invalid. For the non-pivoting case, verify correctness directly by checking A * x ≈ b against the original inputs. Keep the LAPACK comparison for the pivoting case where both use the same algorithm.

As observed on #3020

The non-pivoting cusolver path was compared against LAPACK which always
uses pivoting, making the comparison invalid. For the non-pivoting case,
verify correctness directly by checking A * x ≈ b against the original
inputs. Keep the LAPACK comparison for the pivoting case where both use
the same algorithm.

Also move the version check before matrix allocation to avoid unnecessary
work when skipping.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Mar 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.33%. Comparing base (1810b7a) to head (0b5f7cd).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3039      +/-   ##
==========================================
- Coverage   89.49%   89.33%   -0.17%     
==========================================
  Files         148      148              
  Lines       13047    13047              
==========================================
- Hits        11676    11655      -21     
- Misses       1371     1392      +21     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@maleadt maleadt merged commit 9c24e73 into master Mar 3, 2026
3 checks passed
@maleadt maleadt deleted the tb/cusolver_pivot branch March 3, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant