Low-Level Abstraction of Memory Access
llama::mapping::PermuteFieldsSorted< FlatOrigRecordDim, Less > Struct Template Reference

#include <Common.hpp>

Public Types

using FlatRecordDim = FlatSortedRecordDim
 

Static Public Attributes

template<std::size_t FlatRecordCoord>
static constexpr std::size_t permute = mp_at_c<InversePermutedIndices, FlatRecordCoord>::value
 

Detailed Description

template<typename FlatOrigRecordDim, template< typename, typename > typename Less>
struct llama::mapping::PermuteFieldsSorted< FlatOrigRecordDim, Less >

Sorts the record dimension's the fields according to a given predicate on the field types.

Template Parameters
LessA binary predicate accepting two field types, which exposes a member value. Value must be true if the first field type is less than the second one, otherwise false.

Definition at line 194 of file Common.hpp.

Member Typedef Documentation

◆ FlatRecordDim

template<typename FlatOrigRecordDim , template< typename, typename > typename Less>
using llama::mapping::PermuteFieldsSorted< FlatOrigRecordDim, Less >::FlatRecordDim = FlatSortedRecordDim

Definition at line 213 of file Common.hpp.

Member Data Documentation

◆ permute

template<typename FlatOrigRecordDim , template< typename, typename > typename Less>
template<std::size_t FlatRecordCoord>
constexpr std::size_t llama::mapping::PermuteFieldsSorted< FlatOrigRecordDim, Less >::permute = mp_at_c<InversePermutedIndices, FlatRecordCoord>::value
staticconstexpr

Definition at line 216 of file Common.hpp.


The documentation for this struct was generated from the following file: