blasfeo icon indicating copy to clipboard operation
blasfeo copied to clipboard

BLASFEO: Basic Linear Algebra Subroutines for Embedded Optimization

Open AnonymousYWL opened this issue 4 years ago • 2 comments

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

AnonymousYWL avatar Mar 19 '20 02:03 AnonymousYWL

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.

giaf avatar Mar 20 '20 09:03 giaf

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.

AnonymousYWL avatar Jun 11 '20 12:06 AnonymousYWL