You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the library for a simple example, I'd like to use the row_major interface, already tried the column major one and it works as expected-
oneMath works with multiple HW and backend libraries and also depends on the
compiler and build environment. Include
the following information to help reproduce the issue:
terminate called after throwing an instance of 'oneapi::math::unimplemented'
what(): oneMath: blas/gemm: function is not implemented for row_major layout
Expected behavior
I would expect this to just work as it is a quite standard blas routine and to me it seems to not be advertised anywhere that it should not work so I assume it is actually an issue
The text was updated successfully, but these errors were encountered:
LukeTheWalker
changed the title
Row Major germ for complex double throws oneapi::math::unimplemented
Row Major gemm for complex double throws oneapi::math::unimplemented
Feb 26, 2025
Hi @LukeTheWalker Can you also add to how you compiled the library and the example please?
I suppose you are using cuBLAS backend, so please keep in mind that oneMath doesn't offer more functionality than underlying libraries. e.g. cuBLAS doesn't have row_major support for gemm operator therefore neither oneMath supports row_major for cuBLAS backend.
Please note that for many standard BLAS functions, it is possible to rearrange the parameters and call a column-major function to compute when the matrices are in row-major layout. E.g., see Netlib cblas_zgemm.c: https://github.com/Reference-LAPACK/lapack/blob/master/CBLAS/src/cblas_zgemm.c
We'd be happy to get such a contribution!
Summary
I'm trying to use the library for a simple example, I'd like to use the row_major interface, already tried the column major one and it works as expected-
Version
Latest commit is:
Commit af66e5e
Environment
oneMath works with multiple HW and backend libraries and also depends on the
compiler and build environment. Include
the following information to help reproduce the issue:
Steps to reproduce
Observed behavior
When I run the code I get:
Expected behavior
I would expect this to just work as it is a quite standard blas routine and to me it seems to not be advertised anywhere that it should not work so I assume it is actually an issue
The text was updated successfully, but these errors were encountered: