|
Gromacs
2026.0-dev-20251106-2ba968f
|
#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.
1.8.5