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:
Benoit Jacob 2011-01-21 10:47:31 -05:00
parent 30de1651d3
commit cc1f70abc3
2 changed files with 4 additions and 0 deletions

View File

@ -30,4 +30,6 @@
#define EIGEN_ALIGN_128 EIGEN_ALIGN16
#define EIGEN_ARCH_WANTS_ALIGNMENT EIGEN_ALIGN_STATICALLY
#endif // EIGEN2_MACROS_H

View File

@ -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)
{