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

Using a high performance BLAS #227

Open
rth opened this issue Oct 24, 2018 · 2 comments
Open

Using a high performance BLAS #227

rth opened this issue Oct 24, 2018 · 2 comments

Comments

@rth
Copy link
Member

rth commented Oct 24, 2018

Performance of numerical calculations is going to be significantly impacted by the BLAS used.

#211 aims to include CLAPACK with the reference BLAS/CBLAS which should have a baseline performance.

Once that is done (hopefully soon), e.g. BLIS could be a possible candidates for a better BLAS. That is probably more achievable than OpenBLAS. BLIS was already previously compiled for emscritpen in https://github.com/Maratyszcza/blis-bench (though targeting Asm.js). The relevant discussion at numpy is numpy/numpy#7372.

@rth
Copy link
Member Author

rth commented May 4, 2021

Some benchmarks for matrix multiplication using the currently included reference BLAS can be found in https://gist.github.com/rth/c71fe792eb56fb271317e35e08576c7a

@rth
Copy link
Member Author

rth commented Nov 11, 2022

Although as I mentioned to @lesteve, BLIS only includes BLAS, so we would still have to use reference CLAPACK with all the existing hacks. While it we manage to have a generic build of OpenBLAS it would also have optimized LAPACK. Though it's in Fortran, so lfortran is probably our best bet there.

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

1 participant