|
Gromacs
2025.3
|
#include "gmxpre.h"#include "gromacs/utility/alignedallocator.h"#include "config.h"#include <cstdlib>#include <memory>#include "gromacs/utility/basedefinitions.h"#include "gromacs/utility/gmxassert.h"
Include dependency graph for alignedallocator.cpp:Implements AlignedAllocator.
Functions | |
| gmx_unused void * | gmx::anonymous_namespace{alignedallocator.cpp}::alignedMallocGeneric (std::size_t bytes, std::size_t alignment) |
| Allocate aligned memory in a fully portable way. More... | |
| gmx_unused void | gmx::anonymous_namespace{alignedallocator.cpp}::alignedFreeGeneric (void *p) |
| Free aligned memory. More... | |
| void * | gmx::anonymous_namespace{alignedallocator.cpp}::mallocImpl (std::size_t bytes, std::size_t alignment) |
Implement malloc of bytes of memory, aligned to alignment. | |
| void | gmx::anonymous_namespace{alignedallocator.cpp}::freeImpl (void *p) |
| Free aligned memory allocated with mallocImpl(). | |
| static std::size_t | gmx::getPageSize () |
| Return a page size, from a sysconf/WinAPI query if available, or a default guess (4096 bytes). More... | |
1.8.5