Classes | Namespaces | Macros | Functions
Memory.h File Reference

Go to the source code of this file.

Classes

class  Eigen::aligned_allocator< T >
 STL compatible allocator to use with with 16 byte aligned types. More...
 
class  Eigen::internal::aligned_stack_memory_handler< T >
 
struct  Eigen::aligned_allocator< T >::rebind< U >
 
class  Eigen::internal::scoped_array< T >
 
struct  Eigen::internal::smart_copy_helper< T, UseMemcpy >
 
struct  Eigen::internal::smart_copy_helper< T, false >
 
struct  Eigen::internal::smart_copy_helper< T, true >
 
struct  Eigen::internal::smart_memmove_helper< T, UseMemmove >
 
struct  Eigen::internal::smart_memmove_helper< T, false >
 
struct  Eigen::internal::smart_memmove_helper< T, true >
 

Namespaces

 Eigen
 
 Eigen::internal
 

Macros

#define ei_declare_aligned_stack_constructed_variable(TYPE, NAME, SIZE, BUFFER)
 
#define EIGEN_FREEBSD_MALLOC_ALREADY_ALIGNED   0
 
#define EIGEN_GLIBC_MALLOC_ALREADY_ALIGNED   0
 
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW   EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(true)
 
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign)
 
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE(Scalar, Size)   EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(bool(((Size)!=Eigen::Dynamic) && ((sizeof(Scalar)*(Size))%EIGEN_MAX_ALIGN_BYTES==0)))
 
#define EIGEN_MALLOC_ALREADY_ALIGNED   0
 

Functions

template<typename T >
EIGEN_DEVICE_FUNC void Eigen::internal::aligned_delete (T *ptr, std::size_t size)
 
EIGEN_DEVICE_FUNC void Eigen::internal::aligned_free (void *ptr)
 
EIGEN_DEVICE_FUNC void * Eigen::internal::aligned_malloc (std::size_t size)
 
template<typename T >
EIGEN_DEVICE_FUNC T * Eigen::internal::aligned_new (std::size_t size)
 
void * Eigen::internal::aligned_realloc (void *ptr, std::size_t new_size, std::size_t old_size)
 
template<typename T >
EIGEN_DEVICE_FUNC EIGEN_ALWAYS_INLINE void Eigen::internal::check_size_for_overflow (std::size_t size)
 
EIGEN_DEVICE_FUNC void Eigen::internal::check_that_malloc_is_allowed ()
 
template<typename T , bool Align>
EIGEN_DEVICE_FUNC void Eigen::internal::conditional_aligned_delete (T *ptr, std::size_t size)
 
template<typename T , bool Align>
EIGEN_DEVICE_FUNC void Eigen::internal::conditional_aligned_delete_auto (T *ptr, std::size_t size)
 
template<bool Align>
EIGEN_DEVICE_FUNC void Eigen::internal::conditional_aligned_free (void *ptr)
 
template<>
EIGEN_DEVICE_FUNC void Eigen::internal::conditional_aligned_free< false > (void *ptr)
 
template<bool Align>
EIGEN_DEVICE_FUNC void * Eigen::internal::conditional_aligned_malloc (std::size_t size)
 
template<>
EIGEN_DEVICE_FUNC void * Eigen::internal::conditional_aligned_malloc< false > (std::size_t size)
 
template<typename T , bool Align>
EIGEN_DEVICE_FUNC T * Eigen::internal::conditional_aligned_new (std::size_t size)
 
template<typename T , bool Align>
EIGEN_DEVICE_FUNC T * Eigen::internal::conditional_aligned_new_auto (std::size_t size)
 
template<bool Align>
void * Eigen::internal::conditional_aligned_realloc (void *ptr, std::size_t new_size, std::size_t old_size)
 
template<>
void * Eigen::internal::conditional_aligned_realloc< false > (void *ptr, std::size_t new_size, std::size_t)
 
template<typename T , bool Align>
EIGEN_DEVICE_FUNC T * Eigen::internal::conditional_aligned_realloc_new (T *pts, std::size_t new_size, std::size_t old_size)
 
template<typename T , bool Align>
T * Eigen::internal::conditional_aligned_realloc_new_auto (T *pts, std::size_t new_size, std::size_t old_size)
 
template<typename T >
EIGEN_DEVICE_FUNC T * Eigen::internal::construct_elements_of_array (T *ptr, std::size_t size)
 
template<typename T >
EIGEN_DEVICE_FUNC void Eigen::internal::destruct_elements_of_array (T *ptr, std::size_t size)
 
template<int Alignment, typename Scalar , typename Index >
EIGEN_DEVICE_FUNC Index Eigen::internal::first_aligned (const Scalar *array, Index size)
 
template<typename Scalar , typename Index >
EIGEN_DEVICE_FUNC Index Eigen::internal::first_default_aligned (const Scalar *array, Index size)
 
template<typename Index >
Index Eigen::internal::first_multiple (Index size, Index base)
 
void Eigen::internal::handmade_aligned_free (void *ptr)
 
void * Eigen::internal::handmade_aligned_malloc (std::size_t size)
 
void * Eigen::internal::handmade_aligned_realloc (void *ptr, std::size_t size, std::size_t=0)
 
void Eigen::internal::queryCacheSizes (int &l1, int &l2, int &l3)
 
int Eigen::internal::queryL1CacheSize ()
 
int Eigen::internal::queryTopLevelCacheSize ()
 
template<typename T >
EIGEN_DEVICE_FUNC void Eigen::internal::smart_copy (const T *start, const T *end, T *target)
 
template<typename T >
void Eigen::internal::smart_memmove (const T *start, const T *end, T *target)
 
template<typename T >
void Eigen::internal::swap (scoped_array< T > &a, scoped_array< T > &b)
 
EIGEN_DEVICE_FUNC void Eigen::internal::throw_std_bad_alloc ()
 

Macro Definition Documentation

#define ei_declare_aligned_stack_constructed_variable (   TYPE,
  NAME,
  SIZE,
  BUFFER 
)
Value:
Eigen::internal::check_size_for_overflow<TYPE>(SIZE); \
TYPE* NAME = (BUFFER)!=0 ? BUFFER : reinterpret_cast<TYPE*>(Eigen::internal::aligned_malloc(sizeof(TYPE)*SIZE)); \
Eigen::internal::aligned_stack_memory_handler<TYPE> EIGEN_CAT(NAME,_stack_memory_destructor)((BUFFER)==0 ? NAME : 0,SIZE,true)
EIGEN_DEVICE_FUNC void * aligned_malloc(std::size_t size)
Definition: Memory.h:153
#define EIGEN_CAT(a, b)
Definition: Macros.h:479
string NAME

Definition at line 644 of file Memory.h.

#define EIGEN_FREEBSD_MALLOC_ALREADY_ALIGNED   0

Definition at line 48 of file Memory.h.

#define EIGEN_GLIBC_MALLOC_ALREADY_ALIGNED   0

Definition at line 38 of file Memory.h.

#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW   EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(true)

Definition at line 690 of file Memory.h.

#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF (   NeedsToAlign)

Definition at line 687 of file Memory.h.

#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF_VECTORIZABLE_FIXED_SIZE (   Scalar,
  Size 
)    EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(bool(((Size)!=Eigen::Dynamic) && ((sizeof(Scalar)*(Size))%EIGEN_MAX_ALIGN_BYTES==0)))

Definition at line 691 of file Memory.h.

#define EIGEN_MALLOC_ALREADY_ALIGNED   0

Definition at line 57 of file Memory.h.



hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:09:50