-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Feature Request] cblas_zomatadd should be supported. #4236
Comments
So something like omatcopy plus axpby looping over all columns... may I ask what the use case for this is, apart from it being part of MKL's BLAS-like extensions ? |
Cast matrices to vectors. |
Yes, I checked the use case of matrix is that rows=m, cols=1 or rows=1, cols=n, so this omatadd case can be replaced by omatcopy and axpy. Actually, users want to replace the MKL BLAS API using OpenBLAS API one-to-one directly. |
So make supercompat header to do the casts. BLAS L1 is quite well optimised by modern compilers. |
do you happen to have sample code and/or a testcase ? I'm primarily curious in what kind of context this particular function is useful (and of course it is a general problem with BLAS extensions that few libraries implement them - besides the one who "invented" it) |
The clbas_zomatadd should be supported same with the interface in MKL. implement the addition of two matrixes as bellow:
C := alphaop(A) + betaop(B)
The API in MKL is mkl_?omatadd, which scales and adds two matrices, as well as performing out-of-place transposition operations.
The text was updated successfully, but these errors were encountered: