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

Question: how can I use this as default? #187

Closed
prbzrg opened this issue Dec 22, 2023 · 1 comment
Closed

Question: how can I use this as default? #187

prbzrg opened this issue Dec 22, 2023 · 1 comment

Comments

@prbzrg
Copy link

prbzrg commented Dec 22, 2023

When I import MKL in the first line of my codes, it will be the default BLAS for the whole code instead of the Julia's default BLAS (OpenBLAS). How can I get the same result with Octavian?

@chriselrod
Copy link
Collaborator

When I import MKL in the first line of my codes, it will be the default BLAS for the whole code instead of the Julia's default BLAS (OpenBLAS). How can I get the same result with Octavian?

There is no good way, so it isn't recommended.

For one thing, OpenBLAS does all of BLAS and LAPACK. Octavian basically only does gemm and gemv.

It would be interesting to try swapping out only OpenBLAS's gemm for Octavian's, though.
It's the building block of many of the other routines, and Octavian tends to be much faster at small sizes, which is important for those other routines (as they're calling gemm on small sub-blocks).

But there are no plans for actually implementing that, so it isn't possible at the moment.

@prbzrg prbzrg closed this as completed Mar 2, 2024
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

No branches or pull requests

2 participants