#include <gromacs/math/paddedvector.h>
template<typename T>
struct gmx::detail::PaddingTraits< T >
Traits classes for handling padding for types used with PaddedVector.
Only the base types of the SIMD module are supported for PaddedVector, because the purpose of the padding is to permit SIMD-width operations from the SIMD module.
- Todo:
- Consider explicitly tying these types to the SimdTrait types. That would require depending on the SIMD module, or extracting the traits from it. This would also permit maxSimdWidthOfBaseType to be set more efficiently, e.g. as a metaprogramming max over the maximum width from different implementations.
The documentation for this struct was generated from the following file: