mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-27 07:29:52 +08:00
make eigen2 dynalloc test pass (add to eigen2 support some internal stuff that some users may have been relying on)
This commit is contained in:
parent
30de1651d3
commit
cc1f70abc3
@ -30,4 +30,6 @@
|
||||
|
||||
#define EIGEN_ALIGN_128 EIGEN_ALIGN16
|
||||
|
||||
#define EIGEN_ARCH_WANTS_ALIGNMENT EIGEN_ALIGN_STATICALLY
|
||||
|
||||
#endif // EIGEN2_MACROS_H
|
||||
|
@ -28,6 +28,8 @@
|
||||
inline void* ei_aligned_malloc(size_t size) { return internal::aligned_malloc(size); }
|
||||
inline void ei_aligned_free(void *ptr) { internal::aligned_free(ptr); }
|
||||
inline void* ei_aligned_realloc(void *ptr, size_t new_size, size_t old_size) { return internal::aligned_realloc(ptr, new_size, old_size); }
|
||||
inline void* ei_handmade_aligned_malloc(size_t size) { return internal::handmade_aligned_malloc(size); }
|
||||
inline void ei_handmade_aligned_free(void *ptr) { internal::handmade_aligned_free(ptr); }
|
||||
|
||||
template<bool Align> inline void* ei_conditional_aligned_malloc(size_t size)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user