Reduce occurrences of intrinsic stdlib_matmul test failures#1110
Reduce occurrences of intrinsic stdlib_matmul test failures#1110perazz merged 3 commits intofortran-lang:masterfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1110 +/- ##
=======================================
Coverage 68.55% 68.55%
=======================================
Files 396 396
Lines 12746 12746
Branches 1376 1376
=======================================
Hits 8738 8738
Misses 4008 4008 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
perazz
left a comment
There was a problem hiding this comment.
From what I understand, we're switching from a max absolute value to an average column absolute value, looks perfectly reasonable to me. LGTM @loiseaujc
jalvesz
left a comment
There was a problem hiding this comment.
This should indeed be more robust, LGTM @loiseaujc
Indeed. Basically, for the product of two matrices, it is relatively to show that where |
|
Awesome. Next PR coming will try to fix the pseudoinverse one. |
Following the discussion in #1086 about the intrinsic test failure, this PR implements the following changes to the
test_matmul(intrinsic module) :As far as I can recall, the error estimates are basically correct, although sharper ones could be used but I haven't been able to find my old lecture notes yet about matrix-matrix multiplications and floating point error analysis. In the mean time, this should (hopefully) reduce the number of times the CI fails on these tests. Something similar could be done with the
pseudoinversetests which do fail quite regularly (the single precision mostly I believe).ping: @perazz, @jvdp1, @jalvesz