RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Namespaces | Typedefs | Functions
PermutedLayout.hpp File Reference

RAJA header file defining Layout, a N-dimensional index calculator with permuted stride orderings. More...

#include "RAJA/config.hpp"
#include <iostream>
#include "RAJA/index/IndexValue.hpp"
#include "RAJA/util/Layout.hpp"
#include "RAJA/util/Operators.hpp"
#include "RAJA/util/Permutations.hpp"

Go to the source code of this file.

Namespaces

 RAJA
 

Typedefs

template<camp::idx_t... Ints>
using RAJA::Perm = camp::idx_seq< Ints... >
 
template<camp::idx_t N>
using RAJA::MakePerm = typename camp::make_idx_seq< N >::type
 

Functions

template<size_t Rank, typename IdxLin = Index_type>
constexpr RAJA_INLINE RAJA_HOST_DEVICE auto RAJA::make_permuted_layout (std::array< IdxLin, Rank > sizes, std::array< camp::idx_t, Rank > permutation) -> Layout< Rank, IdxLin >
 Creates a permuted Layout object. More...
 

Detailed Description

RAJA header file defining Layout, a N-dimensional index calculator with permuted stride orderings.