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

BLASFEO: Basic Linear Algebra Subroutines for Embedded Optimization #118

Open
AnonymousYWL opened this issue Mar 19, 2020 · 2 comments
Open

Comments

@AnonymousYWL
Copy link

BLASFEO convert matrix format from row-major into panel-major.Whether the cost is calculated in the experiment?

@giaf
Copy link
Owner

giaf commented Mar 20, 2020

Whether you should add the conversion cost to the timings depends on your application.

The panel-major format used in the BLASFEO API is used for both input and output arguments, therefore you can use it for your entire algorithm without the need to perform any packing/unpacking, or limiting packing only of the initial data.

If you intend to write your entire algorithm using column-major matrix format, then it's better to switch to the BLAS API (BLASFEO also provides some optimized standard BLAS and LAPACK routines), where the packing happens in a smart way inside the linear algebra routines themselves.

@AnonymousYWL
Copy link
Author

The program uses the blasfeo_pack_smat API to generate segmentation fault. What is the cause of this problem? M is not equal to N.

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