Gromacs  2016.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
alignedallocator.h File Reference
#include <cstddef>
#include <memory>
#include <new>
#include "gromacs/utility/basedefinitions.h"
+ Include dependency graph for alignedallocator.h:

Description

Declares gmx::AlignedAllocator that is used to make standard library containers compatible with SIMD contents that require aligned load/store.

Author
Erik Lindahl erik..nosp@m.lind.nosp@m.ahl@g.nosp@m.mail.nosp@m..com

Classes

class  gmx::AlignedAllocator< T >
 Aligned memory allocator. More...
 
struct  gmx::AlignedAllocator< T >::rebind< U >
 Standard-required typedef to use allocator with different class. More...
 

Functions

void * gmx::internal::alignedMalloc (std::size_t bytes)
 Allocate aligned memory. More...
 
void gmx::internal::alignedFree (void *p)
 Free aligned memory. More...