Skip to content

[BLAS][portBLAS] Add try/catch for portblas runtime exception & minor fix#525

Merged
hjabird merged 3 commits intouxlfoundation:developfrom
s-Nick:pb_add_try_catch
Jul 17, 2024
Merged

[BLAS][portBLAS] Add try/catch for portblas runtime exception & minor fix#525
hjabird merged 3 commits intouxlfoundation:developfrom
s-Nick:pb_add_try_catch

Conversation

@s-Nick
Copy link
Contributor

@s-Nick s-Nick commented Jul 4, 2024

Description

This PR adds exception handling to portBLAS backend implementation. This would allow us to handle corner cases in portBLAS.

It also adds a minor fix to omatcopy2 tests adding check if double precision is supported by the device before running tests.

Checklist

All Submissions

  • Do all unit tests pass locally?
    intel_arc_log.txt

  • Have you formatted the code using clang-format?

s-Nick added 3 commits July 15, 2024 09:53
Signed-off-by: nscipione <nicolo.scipione@codeplay.com>
Add missing double support checks in omatcopy2 tests.
Change exception catch to the portBLAS one required.
@s-Nick s-Nick force-pushed the pb_add_try_catch branch from 4bbd5d3 to 6b259b8 Compare July 15, 2024 09:57
@Rbiessy Rbiessy requested a review from a team July 15, 2024 13:08
@hjabird hjabird merged commit 60bd6d1 into uxlfoundation:develop Jul 17, 2024
normallytangent pushed a commit to normallytangent/oneMKL that referenced this pull request Aug 6, 2024
… fix (uxlfoundation#525)

Signed-off-by: nscipione <nicolo.scipione@codeplay.com>

* Catch PortBLAS's unsupported exceptions and rethrow as mkl::unimplemented.
* Add missing checks for the device having double support in tests.
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.

3 participants