Gromacs
2024.4
|
#include <gromacs/utility/tests/alignedallocator_impl.h>
Inherits Test.
Templated test fixture.
Public Member Functions | |
std::size_t | mask (const T &allocator) |
Return a bitmask for testing the alignment. More... | |
|
inline |
Return a bitmask for testing the alignment.
e.g. for 128-byte alignment the mask is 128-1 - all of these bits should be zero in pointers that have the intended alignment.