![]() |
Low-Level Abstraction of Memory Access
|
#include <PermuteArrayIndex.hpp>
Inheritance diagram for llama::mapping::PermuteArrayIndex< Mapping, Permutation >:
Collaboration diagram for llama::mapping::PermuteArrayIndex< Mapping, Permutation >:Public Types | |
| using | Inner = Mapping |
Public Member Functions | |
| constexpr | PermuteArrayIndex ()=default |
| PermuteArrayIndex (Mapping mapping) | |
| template<typename... Args> | |
| PermuteArrayIndex (Args &&... innerArgs) | |
| template<std::size_t... RCs> | |
| constexpr auto | blobNrAndOffset (ArrayIndex ai, RecordCoord< RCs... > rc={}) const -> NrAndOffset< size_type > |
| template<std::size_t... RCs, typename Blobs > | |
| auto | compute (ArrayIndex ai, RecordCoord< RCs... > rc, Blobs &blobs) const -> decltype(auto) |
Meta mapping permuting the array indices before forwarding to another mapping. The array extents are not changed.
| Permutation | The pack of integrals describing the permutation of the array indices. The inner mapping will be called with an ArrayIndex{ai[Permutation]...}. |
Definition at line 16 of file PermuteArrayIndex.hpp.
| using llama::mapping::PermuteArrayIndex< Mapping, Permutation >::Inner = Mapping |
Definition at line 23 of file PermuteArrayIndex.hpp.
|
constexprdefault |
|
inlineexplicit |
Definition at line 28 of file PermuteArrayIndex.hpp.
|
inlineexplicit |
Definition at line 33 of file PermuteArrayIndex.hpp.
|
inlineconstexpr |
Definition at line 43 of file PermuteArrayIndex.hpp.
|
inline |
Definition at line 50 of file PermuteArrayIndex.hpp.