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

GEADD is pointless without transposition #4646

Open
jeffhammond opened this issue Apr 15, 2024 · 3 comments
Open

GEADD is pointless without transposition #4646

jeffhammond opened this issue Apr 15, 2024 · 3 comments

Comments

@jeffhammond
Copy link

?GEADD has virtually no utility over ?AXPBY, which is itself unoptimizable (i.e. the equivalent loops, optimized by a compiler, will perform at least as well in all cases).

Both appleblas_?geadd and cublas?geam support transposition, which is useful, in part because transposition is nontrivial to optimize.

cblas_?omatcopy, which is inspired by MKL, has transpose but does not support the generality of accumulation of the former.

It would be nice to have a GEAM-style routine in OpenBLAS.

@martin-frbg
Copy link
Collaborator

I don't know if it is actually pointless, but it is the variant of GEADD that was originally implemented by ATLAS. (Fun with names of non-standardized BLAS extensions, I guess the most feature-rich GEADD is the one in IBM's ESSL ? Also patches welcome...)

@jeffhammond
Copy link
Author

i'll try to work on a patch.

i have not found a single application that uses ?GEADD, but i know that lots of code isn't publicly available.

@martin-frbg
Copy link
Collaborator

None of the codes available to me seem to use it, neither does anything public on github AFAICT, there never was any complaint about the lack of transpositions here (or about the lack of GEADD in the reference implementation either), so
maybe it might as well not exist ? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants