QMCPACK
PooledMemory.h File Reference
+ Include dependency graph for PooledMemory.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PooledMemory< T_scalar, Alloc >
 

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Macros

#define DEFAULT_PAGE_SIZE   4096
 Memory pool to manage arrays+scalars with alignment. More...
 

Macro Definition Documentation

◆ DEFAULT_PAGE_SIZE

#define DEFAULT_PAGE_SIZE   4096

Memory pool to manage arrays+scalars with alignment.

Template Parameters
T_scalar: type of the scalar data type, typically OHMMS_PRECISION_FULL
PageSize: page size in bytes, default=4096 (4K)
Alloc: allocator, Mallocator<T, PageSize>

The bulk part is accessed directly by address The scalar part works as PooledData, all the values are static_cast to T_scalar.

Definition at line 33 of file PooledMemory.h.