Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Jul 17, 2024

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
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
6 checks passed
normallytangent pushed a commit to normallytangent/oneMKL that referenced this pull request Aug 6, 2024
… fix (uxlfoundation#525)

Signed-off-by: nscipione <[email protected]>

* 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