This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen

Bug 51

Summary: no malloc in fixed-size products
Product: Eigen Reporter: Benoit Jacob <jacob.benoit.1>
Component: Core - matrix productsAssignee: Gael Guennebaud <gael.guennebaud>
Status: RESOLVED FIXED    
Severity: Unknown CC: jitseniesen
Priority: ---    
Version: 3.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 558    

Description Benoit Jacob 2010-10-16 04:23:40 UTC
Fixed-size matrix products should never malloc. It's OK if this means that they never do any cache-friendliness/parallellization. Guaranteeing no malloc is more important.
Comment 1 Gael Guennebaud 2011-01-28 11:07:40 UTC
for the record only fancy matrix-matrix products involving triangular or selfadjoint views are not safe regarding this issue.
Comment 2 Gael Guennebaud 2011-02-01 11:46:42 UTC
progress: triangular*vector and self-adjoint*vector are now fine too.
Comment 3 Benoit Jacob 2011-02-03 16:20:47 UTC
OK, given that it's only in triangular*matrix and selfadjoint*matrix products, and does not happen in triangular.solve(matrix), I think that we can ship with that. Must fix this in 3.1.
Comment 4 Gael Guennebaud 2016-01-25 20:18:17 UTC
https://bitbucket.org/eigen/eigen/commits/0421a90c2606/
Summary:     Bug 51: make general_matrix_matrix_triangular_product use L3-blocking helper so that general symmetric rank-updates and general-matrix-to-triangular products do not trigger dynamic memory allocation for fixed size matrices.
Comment 5 Gael Guennebaud 2016-01-26 22:12:18 UTC
https://bitbucket.org/eigen/eigen/commits/0e4037f5848f/
Summary:     Bug 51: add block preallocation mechanism to selfadjoint*matrix product.
Comment 6 Nobody 2019-12-04 09:39:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/51.