aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Memory.h
Commit message (Collapse)AuthorAge
* Fixed compilation warnings generated by nvcc 6.5 (and below) when compiling ↵Gravatar Benoit Steiner2016-09-14
| | | | the EIGEN_THROW macro
* Introduce internal's UIntPtr and IntPtr types for pointer to integer ↵Gravatar Gael Guennebaud2016-05-26
| | | | | | | | conversions. This fixes "conversion from pointer to same-sized integral type" warnings by ICC. Ideally, we would use the std::[u]intptr_t types all the time, but since they are C99/C++11 only, let's be safe.
* bug #1170: skip calls to memcpy/memmove for empty imput.Gravatar Gael Guennebaud2016-02-19
|
* Add an explicit assersion on the alignment of the pointer returned by ↵Gravatar Gael Guennebaud2016-02-05
| | | | std::malloc
* Remove posix_memalign, _mm_malloc, and _aligned_malloc special paths.Gravatar Gael Guennebaud2016-02-05
|
* Fixed some compilation problems with nvcc + clangGravatar Benoit Steiner2016-01-27
|
* Made the blas utils usable from within a cuda kernelGravatar Benoit Steiner2016-01-11
|
* Workaround "empty paragraph" warning with clang -WdocumentationGravatar Gael Guennebaud2015-12-30
|
* bug #1109: use noexcept instead of throw for C++11 compilersGravatar Gael Guennebaud2015-12-10
|
* Let unpacket_traits<> exposes the required alignment and make use of it ↵Gravatar Gael Guennebaud2015-08-07
| | | | everywhere
* Generalize first_aligned to take the requested alignment as a template ↵Gravatar Gael Guennebaud2015-08-06
| | | | parameter, and add a first_default_aligned variante calling first_aligned with the requirement of the largest packet for the given scalar type.
* Add a EIGEN_DEFAULT_ALIGN_BYTES macro defining default alignment for alloca ↵Gravatar Gael Guennebaud2015-08-06
| | | | | | and aligned_malloc. It is defined as the max of EIGEN_IDEAL_MAX_ALIGN_BYTES and EIGEN_MAX_ALIGN_BYTES
* bug #973: update macro-level control of alignement by introducing ↵Gravatar Gael Guennebaud2015-07-29
| | | | user-controllable EIGEN_MAX_ALIGN_BYTES and EIGEN_MAX_STATIC_ALIGN_BYTES macros. This changeset also removes EIGEN_ALIGN (replaced by EIGEN_MAX_ALIGN_BYTES>0), EIGEN_ALIGN_STATICALLY (replaced by EIGEN_MAX_STATIC_ALIGN_BYTES>0), EIGEN_USER_ALIGN*, EIGEN_ALIGN_DEFAULT (replaced by EIGEN_ALIGN_MAX).
* Fixed some compiler bugs in NVCC, now compiles with CUDA.Gravatar Jonas Adler2015-07-22
| | | | (chtz: Manually joined sevaral commits to keep the history clean)
* Disable posix_memalign on Solaris and SunOS, and allows to by-pass built-in ↵Gravatar Gael Guennebaud2015-04-24
| | | | posix_memalign detection rules.
* Marked a few functions as EIGEN_DEVICE_FUNC to enable the use of tensors in ↵Gravatar Benoit Steiner2015-02-10
| | | | cuda kernels.
* bug #921: fix utilization of bitwise operation on enums in first_alignedGravatar Gael Guennebaud2014-12-19
|
* Introduce unified macros to identify compiler, OS, and architecture. They ↵Gravatar Gael Guennebaud2014-11-04
| | | | are all defined in util/Macros.h and prefixed with EIGEN_COMP_, EIGEN_OS_, and EIGEN_ARCH_ respectively.
* Add lapack interface to JacobiSVD and BDCSVDGravatar Gael Guennebaud2014-10-17
|
* Fix indentationGravatar Gael Guennebaud2014-10-09
|
* Add a scoped_array helper class to handle locally allocated/used arraysGravatar Gael Guennebaud2014-10-09
|
* Fix bug #884: No malloc for zero-sized matrices or for Ref without temporariesGravatar Christoph Hertzberg2014-09-25
|
* bug #861: enable posix_memalign with PGIGravatar Gael Guennebaud2014-08-26
|
* add missing delete operator overloadsGravatar Gael Guennebaud2014-07-30
|
* Define EIGEN_TRY, EIGEN_CATCH, EIGEN_THROW as suggested by Moritz Klammer.Gravatar Christoph Hertzberg2014-07-22
| | | | | Make it possible to run unit-tests with exceptions disabled via EIGEN_TEST_NO_EXCEPTIONS flag. Enhanced ctorleak unit-test
* Applied changes suggested by Christoph Hertzberg to c'tor leak fix.Gravatar Moritz Klammler2014-07-18
| | | | | - Enclose exception handling in '#ifdef EIGEN_EXCEPTIONS'. - Use an object counter to demonstrate the bug more readily.
* Avoid memory leak when constructor of user-defined type throws exception.Gravatar Moritz Klammler2014-07-06
| | | | | | | | | | | | The added check `ctorleak.cpp` demonstrates how the leak can be reproduced. The test appears to pass but it is leaking the storage of the (not created) matrix. I don't know how to make this test fail in the existing test suite but you can run it through Valgrind (or another debugger) to verify the leak. $ ./check.sh ctorleak && valgrind --leak-check=full ./test/ctorleak This patch fixes this leak by adding some try-catch-delete-rethrow blocks to `Eigen/src/Core/util/Memory.h`.
* bug #837: Always re-align the result of EIGEN_ALLOCA.Gravatar Christoph Hertzberg2014-07-08
|
* Fix bug #729: Use alloca if it is definedGravatar Christoph Hertzberg2014-06-23
|
* Fix bug #803: avoid char* to int* conversionGravatar Gael Guennebaud2014-05-01
|
* merge with default branchGravatar Gael Guennebaud2014-04-22
|\
* | Enable alloca on MAC OSXGravatar Gael Guennebaud2014-04-16
| |
| * Updated my previous fix to avoid introducing a compilation warning on ARM ↵Gravatar Benoit Steiner2014-04-10
| | | | | | | | platforms.
| * Silenced a compilation warning produced by nvcc.Gravatar Benoit Steiner2014-04-10
| |
* | Merged latest updates from the parent branchGravatar Benoit Steiner2014-03-26
|\|
* | Merged latest changes from the parentGravatar Benoit Steiner2014-03-18
|\ \
* \ \ Merged the latest version of the code from eigen/eigenGravatar Benoit Steiner2014-02-18
|\ \ \
* | | | Reverted the definition of the EIGEN_ALIGN to its former meaning (i.e. a ↵Gravatar Benoit Steiner2014-02-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | boolean) Created a new EIGEN_ALIGN_BYTES define to encode how the data should be aligned Fixed a few remaining alignment issues exposed when the Eigen code is compiled with avx enabled. Created a new EIGEN_ALIGN_DEFAULT define, which is set to the minimum alignment value required for the chosen instruction set. Use this value instead of EIGEN_ALIGN32 to preserve the existing alignment on SSE/Altivec/Neon.
* | | | Added support for AVX to Eigen.Gravatar Benoit Steiner2014-01-29
| | | |
| | | * Simpler and hopefully more future-proof fix for bug #503 (aligned_allocator ↵Gravatar Gael Guennebaud2014-03-19
| | |/ | | | | | | | | | with c++11)
| | * Fixed bug #754. Only inserted (!defined(_WIN32_WCE)) analog to alloc and ↵Gravatar Christoph Hertzberg2014-03-05
| | | | | | | | | | | | free implementation (not tested, but should be correct).
| | * bug #289: Removed useless static keywordsGravatar Christoph Hertzberg2014-03-04
| |/
| * Merged in martinhofernandes/eigen (pull request PR-40)Gravatar Gael Guennebaud2014-02-14
| |\ | | | | | | | | | Better fix for bug #503
| * | alloca is not necessarily alligned on windowsGravatar Gael Guennebaud2014-02-14
|/ /
| * Placement new must use void* to avoid user-specific overloads.Gravatar Martinho Fernandes2014-01-10
| |
| * Add C++11 allocator overloads to avoid implicit conversions.Gravatar Martinho Fernandes2014-01-10
|/
* Fix bug #708: add placement new/delete for arrayGravatar Gael Guennebaud2013-11-27
|
* Allow calling attributes of dynamic size objects from deviceGravatar Gael Guennebaud2013-11-05
|
* Fix bug #503Gravatar Martinho Fernandes2013-09-10
| | | | | C++11 support on simple allocators comes for free. `aligned_allocator` does not need to add any `construct` overloads to work with C++11 compilers.
* Added smart_memmove with support of non-POD scalars (e.g. needed in ↵Gravatar Pavel Holoborodko2013-08-25
| | | | SparseBlock.h).