Gromacs  2020.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gmx::detail::PaddingTraits< T > Struct Template Reference

#include <gromacs/math/paddedvector.h>

Description

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: