Analysis Software
Documentation for sPHENIX simulation software
|
Allocator which is needed to allocate memory in std::vector aligned by the size of SIMD vectors. More...
#include <KFParticle/blob/master/KFParticle/KFPSimdAllocator.h>
Classes | |
class | rebind |
Rebind allocator to type U of the SIMD allocator. More... | |
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
pointer | address (reference value) const |
const_pointer | address (const_reference value) const |
KFPSimdAllocator () throw () | |
KFPSimdAllocator (const KFPSimdAllocator &) throw () | |
template<class U > | |
KFPSimdAllocator (const KFPSimdAllocator< U > &) throw () | |
~KFPSimdAllocator () throw () | |
size_type | max_size () const throw () |
pointer | allocate (size_type num, const void *=0) |
void | construct (pointer p) |
void | construct (pointer p, const T &value) |
void | destroy (pointer p) |
void | deallocate (pointer p, size_type num) |
void * | operator new (size_t size, void *ptr) |
new operator for allocation of the SIMD-alligned dynamic memory allocation | |
void * | operator new[] (size_t size, void *ptr) |
new operator for allocation of the SIMD-alligned dynamic memory allocation | |
void * | operator new (size_t size) |
new operator for allocation of the SIMD-alligned dynamic memory allocation | |
void * | operator new[] (size_t size) |
new operator for allocation of the SIMD-alligned dynamic memory allocation | |
void | operator delete (void *ptr, size_t) |
delete operator for the SIMD-alligned dynamic memory release | |
void | operator delete[] (void *ptr, size_t) |
delete operator for the SIMD-alligned dynamic memory release | |
Allocator which is needed to allocate memory in std::vector aligned by the size of SIMD vectors.
Definition at line 35 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 35 of file KFPSimdAllocator.h
typedef const T* KFPSimdAllocator< T >::const_pointer |
Definition at line 40 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 40 of file KFPSimdAllocator.h
typedef const T& KFPSimdAllocator< T >::const_reference |
Definition at line 42 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 42 of file KFPSimdAllocator.h
typedef std::ptrdiff_t KFPSimdAllocator< T >::difference_type |
Definition at line 44 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 44 of file KFPSimdAllocator.h
typedef T* KFPSimdAllocator< T >::pointer |
Definition at line 39 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 39 of file KFPSimdAllocator.h
typedef T& KFPSimdAllocator< T >::reference |
Definition at line 41 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 41 of file KFPSimdAllocator.h
typedef std::size_t KFPSimdAllocator< T >::size_type |
Definition at line 43 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 43 of file KFPSimdAllocator.h
typedef T KFPSimdAllocator< T >::value_type |
Definition at line 38 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 38 of file KFPSimdAllocator.h
|
inline |
Definition at line 69 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 69 of file KFPSimdAllocator.h
|
inline |
Definition at line 70 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 70 of file KFPSimdAllocator.h
|
inline |
Definition at line 72 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 72 of file KFPSimdAllocator.h
|
inline |
Definition at line 73 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 73 of file KFPSimdAllocator.h
|
inline |
Return address of "value".
Definition at line 58 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 58 of file KFPSimdAllocator.h
References value.
|
inline |
Return address of "value".
Definition at line 62 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 62 of file KFPSimdAllocator.h
References value.
|
inline |
Allocate but don't initialize num elements of type T.
Definition at line 81 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 81 of file KFPSimdAllocator.h
References Acts::UnitConstants::T.
|
inline |
Initialize elements of allocated storage "p" with an empty element.
Definition at line 88 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 88 of file KFPSimdAllocator.h
References merge_hashes::p, and Acts::UnitConstants::T.
|
inline |
Initialize elements of allocated storage "p" with value "value".
Definition at line 94 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 94 of file KFPSimdAllocator.h
References merge_hashes::p, and Acts::UnitConstants::T.
|
inline |
Deallocate storage p of deleted elements.
Definition at line 105 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 105 of file KFPSimdAllocator.h
References merge_hashes::p, and Acts::UnitConstants::T.
|
inline |
Destroy elements of initialized storage "p".
Definition at line 99 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 99 of file KFPSimdAllocator.h
|
inline |
Return maximum number of elements that can be allocated.
Definition at line 76 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 76 of file KFPSimdAllocator.h
References Acts::UnitConstants::T.
|
inline |
delete operator for the SIMD-alligned dynamic memory release
Definition at line 115 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 115 of file KFPSimdAllocator.h
|
inline |
delete operator for the SIMD-alligned dynamic memory release
Definition at line 116 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 116 of file KFPSimdAllocator.h
|
inline |
new operator for allocation of the SIMD-alligned dynamic memory allocation
Definition at line 111 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 111 of file KFPSimdAllocator.h
References size.
|
inline |
new operator for allocation of the SIMD-alligned dynamic memory allocation
Definition at line 113 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 113 of file KFPSimdAllocator.h
References size.
|
inline |
new operator for allocation of the SIMD-alligned dynamic memory allocation
Definition at line 112 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 112 of file KFPSimdAllocator.h
References size.
|
inline |
new operator for allocation of the SIMD-alligned dynamic memory allocation
Definition at line 114 of file KFPSimdAllocator.h.
View newest version in sPHENIX GitHub at line 114 of file KFPSimdAllocator.h
References size.