Commit 1b0ce60
authored
Add w/a for oneMath to fix test oneMKL interfaces action (#2360)
This PR suggests adding a temporary workaround to a problem in oneMath
[#642 ](uxlfoundation/oneMath#642) where
exceptions are no longer thrown in `lapack` namespace for `getrf`
function as expected.
In oneMath develop branch `oneapi::mkl::lapack::computation_error` is
not thrown.
Instead, `oneapi::mkl::computation_error` from `mkl` namespace is used
so existing catch block `mkl_lapack::exception` does not handle singular
matrix errors.
A workaround has been added to explicitly catch
`oneapi::mkl::computation_error` and update `dev_info` ensuring that
singular matrices are handled correctly.1 parent acd33e4 commit 1b0ce60
2 files changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
147 | 157 | | |
148 | 158 | | |
149 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
123 | 132 | | |
124 | 133 | | |
125 | 134 | | |
| |||
0 commit comments