aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nomalloc.cpp
Commit message (Collapse)AuthorAge
* Get rid of EIGEN_TEST_FUNC, unit tests must now be declared with ↵Gravatar Gael Guennebaud2018-07-17
| | | | | | | | | EIGEN_DECLARE_TEST(mytest) { /* code */ }. This provide several advantages: - more flexibility in designing unit tests - unit tests can be glued to speed up compilation - unit tests are compiled with same predefined macros, which is a requirement for zapcc
* Remove local Index typedef from unit-testsGravatar Gael Guennebaud2018-07-12
|
* add nomalloc unit test for rank2 updatesGravatar Gael Guennebaud2016-01-27
|
* Remove redundant test.Gravatar Gael Guennebaud2016-01-26
|
* bug #51: add block preallocation mechanism to selfadjoit*matrix product.Gravatar Gael Guennebaud2016-01-25
|
* bug #51: make general_matrix_matrix_triangular_product use L3-blocking ↵Gravatar Gael Guennebaud2016-01-25
| | | | helper so that general symmetric rank-updates and general-matrix-to-triangular products do not trigger dynamic memory allocation for fixed size matrices.
* I can reproduce any problems that justified this hack. However it makes ↵Gravatar Christoph Hertzberg2015-02-21
| | | | builds fail in C++11 mode.
* bug #884: Copy constructor of Ref shall never malloc, constructing from ↵Gravatar Christoph Hertzberg2014-09-30
| | | | other RefBase shall only malloc if the memory layout is incompatible.
* Fix bug #884: No malloc for zero-sized matrices or for Ref without temporariesGravatar Christoph Hertzberg2014-09-25
|
* Clean source code and unit tests with respect to -Wunused-local-typedefsGravatar Gael Guennebaud2013-04-10
|
* Remove ICC warning in nomalloc unit test.Gravatar Gael Guennebaud2013-02-26
|
* Automatic relicensing to MPL2 using Keirs script. Manual fixup follows.Gravatar Benoit Jacob2012-07-13
|
* remove dynamic allocation for fixed size object and triangular matrix-matrix ↵Gravatar Gael Guennebaud2012-06-26
| | | | products
* comment two tests in nomalloc (there is no regression here, it's just I've ↵Gravatar Gael Guennebaud2012-06-20
| | | | been too optimistic when adding them recently)
* extend nomalloc unit test to test the solve callsGravatar Gael Guennebaud2012-06-12
|
* fix more variable-set-but-not-used warnings on gcc 4.6Gravatar Benoit Jacob2011-10-31
|
* extend nomalloc testGravatar Gael Guennebaud2011-02-01
|
* fix trmv regarding strided vectors and static allocation of temporariesGravatar Gael Guennebaud2011-02-01
|
* fix dynamic allocation for fixed size objects in matrix-vector productGravatar Gael Guennebaud2011-01-31
|
* fix MaxCols in ComplexEigenSolver which was causing memory allocation ↵Gravatar Gael Guennebaud2011-01-27
| | | | instead of static allocation in the nomalloc test. Uncomment commenetd parts of the nomalloc test since now matrix-matrix products are safe.
* bug #86 : use internal:: namespace instead of ei_ prefixGravatar Benoit Jacob2010-10-25
|
* remove SVD class (was bad code taked from elsewhere)Gravatar Benoit Jacob2010-10-12
| | | | | Use JacobiSVD for now. We do plan to reintroduce a bidiagonalizing SVD asap.
* fix nomalloc_2 issues with ICC and gcc 4.0.1 (and speed up compilation ;) )Gravatar Gael Guennebaud2010-07-04
|
* email changeGravatar Gael Guennebaud2010-06-24
|
* - add a low level mechanism to provide preallocated memory to gemmGravatar Gael Guennebaud2010-06-24
| | | | - ensure static allocation for the product of "large" fixed size matrix
* Utilize Index in all unit tests.Gravatar Hauke Heibel2010-06-20
|
* the Index types change.Gravatar Benoit Jacob2010-05-30
| | | | As discussed on the list (too long to explain here).
* nomalloc: minor cleanupGravatar Benoit Jacob2010-03-08
|
* Propagate all five matrix template parameters to members and temporaries of ↵Gravatar Adolfo Rodriguez Tsouroukdissian2010-03-08
| | | | | | | decomposition classes. One particular advantage of this is that decomposing matrices with max sizes known at compile time will not allocate. NOTE: The ComplexEigenSolver class currently _does_ allocate (line 135 of Eigenvalues/ComplexEigenSolver.h), but the reason appears to be in the implementation of matrix-matrix products, and not in the decomposition itself. The nomalloc unit test has been extended to verify that decompositions do not allocate when max sizes are specified. There are currently two workarounds to prevent the test from failing (see comments in test/nomalloc.cpp), both of which are related to matrix products that allocate on the stack.
* s/asMatrix()/matrix()Gravatar Gael Guennebaud2010-01-04
|
* a couple of fixes and cleaningGravatar Gael Guennebaud2009-12-17
|
* a lot of cleaning and fixesGravatar Gael Guennebaud2009-12-16
|
* some compilation fixesGravatar Gael Guennebaud2009-12-10
|
* big huge changes, so i dont remember everything.Gravatar Benoit Jacob2009-10-28
| | | | | | | | | | * renaming, e.g. LU ---> FullPivLU * split tests framework: more robust, e.g. dont generate empty tests if a number is skipped * make all remaining tests use that splitting, as needed. * Fix 4x4 inversion (see stable branch) * Transform::inverse() and geo_transform test : adapt to new inverse() API, it was also trying to instantiate inverse() for 3x4 matrices. * CMakeLists: more robust regexp to parse the version number * misc fixes in unit tests
* more product refactoringGravatar Gael Guennebaud2009-08-06
|
* remove sentence "Eigen itself is part of the KDE project."Gravatar Benoit Jacob2009-05-22
| | | | it never made very precise sense. but now does it still make any?
* fix a bunch of warnings (actual issues) reported by FrankGravatar Benoit Jacob2009-01-22
|
* the big memory changes. the most important changes are:Gravatar Benoit Jacob2009-01-08
| | | | | | | ei_aligned_malloc now really behaves like a malloc (untyped, doesn't call ctor) ei_aligned_new is the typed variant calling ctor EIGEN_MAKE_ALIGNED_OPERATOR_NEW now takes the class name as parameter
* fix the nomalloc test: it didn't catch the ei_stack_alloc inGravatar Benoit Jacob2008-12-31
| | | | | | | | | | | cachefriendlyproduct, that should be banned as well as depending on the platform they can give a malloc, and they could happen even with (large enough) fixed size matrices. Corresponding fix in Product.h: cachefriendly is now only used for dynamic matrices -- fixedsize, no matter how large, doesn't use the cachefriendly product. We don't need to care (in my opinion) about performance for large fixed size, as large fixed size is a bad idea in the first place and it is more important to be able to guarantee clearly that fixed size never causes a malloc.
* Update e-mail addressGravatar Benoit Jacob2008-11-24
|
* Solve a big issue with data alignment and dynamic allocation:Gravatar Gael Guennebaud2008-09-03
| | | | | | | | | | | | | | | | * add a WithAlignedOperatorNew class with overloaded operator new * make Matrix (and Quaternion, Transform, Hyperplane, etc.) use it if needed such that "*(new Vector4) = xpr" does not failed anymore. * Please: make sure your classes having fixed size Eigen's vector or matrice attributes inherit WithAlignedOperatorNew * add a ei_new_allocator STL memory allocator to use with STL containers. This allocator really calls operator new on your types (unlike GCC's new_allocator). Example: std::vector<Vector4f> data(10); will segfault if the vectorization is enabled, instead use: std::vector<Vector4f,ei_new_allocator<Vector4f> > data(10); NOTE: you only have to worry if you deal with fixed-size matrix types with "sizeof(matrix_type)%16==0"...
* * Merge Extract and Part to the Part expression.Gravatar Gael Guennebaud2008-07-21
| | | | | | Renamed "MatrixBase::extract() const" to "MatrixBase::part() const" * Renamed static functions identity, zero, ones, random with an upper case first letter: Identity, Zero, Ones and Random.
* the big Array/Cwise rework as discussed on the mailing list. The new APIGravatar Benoit Jacob2008-07-08
| | | | can be seen in Eigen/src/Core/Cwise.h.
* Added a Hessenberg decomposition class for both real and complex matrices.Gravatar Gael Guennebaud2008-06-08
| | | | | | | This is the first step towards a non-selfadjoint eigen solver. Notes: - We might consider merging Tridiagonalization and Hessenberg toghether ? - Or we could factorize some code into a Householder class (could also be shared with QR)
* hack to to make the nomalloc unit test compiles with -pedanticGravatar Gael Guennebaud2008-06-04
|
* added unit tests for sizeof and dynamic memory allocationGravatar Gael Guennebaud2008-06-02