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

Optionally use BLAS and MKL to accelerate a few core runtime functions #3430

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jbaayen
Copy link

@jbaayen jbaayen commented Oct 25, 2023

No description provided.

@jgillis
Copy link
Member

jgillis commented Nov 5, 2023

This needs some more thinking ..

  • The binaries are shipped with openblas (which does install cblas.h). Any solution should at least work with that
  • In C++, template instantiation does look like the proper solution (note that he runtime functions are sometimes called with SXElem)
  • Template instantiations would not be picked up by codegen, we need a solution that works both for codegen and vm without duplication. Modify the codegen parser?

A half-hearted attempt is here https://github.com/casadi/casadi/tree/blas but suffers from SXElem calls

@jbaayen
Copy link
Author

jbaayen commented Nov 6, 2023 via email

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

Successfully merging this pull request may close these issues.

None yet

2 participants