Gromacs  2024.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs | Functions
alignedallocator.h File Reference
#include <cstddef>
#include "gromacs/utility/allocator.h"
+ Include dependency graph for alignedallocator.h:
+ This graph shows which files directly or indirectly include this file:


Declares allocation policy classes and allocators that are used to make library containers compatible with alignment requirements of particular hardware, e.g. memory operations for SIMD or accelerators.

Erik Lindahl
Mark Abraham


template<class T >
using gmx::AlignedAllocator = Allocator< T, AlignedAllocationPolicy >
 Aligned memory allocator. More...
template<class T >
using gmx::PageAlignedAllocator = Allocator< T, PageAlignedAllocationPolicy >
 PageAligned memory allocator. More...


std::size_t gmx::pageSize ()
 Return the memory page size on this system. More...