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

RAJA header file defining Layout, a N-dimensional index calculator with offset indices. More...

#include "RAJA/config.hpp"
#include <array>
#include <limits>
#include "camp/camp.hpp"
#include "RAJA/index/IndexValue.hpp"
#include "RAJA/util/Permutations.hpp"
#include "RAJA/util/PermutedLayout.hpp"

Go to the source code of this file.

Classes

struct  RAJA::internal::OffsetLayout_impl< camp::idx_seq< RangeInts... >, IdxLin >
 
struct  RAJA::OffsetLayout< n_dims, IdxLin >
 
struct  RAJA::TypedOffsetLayout< IdxLin, camp::tuple< DimTypes... > >
 

Namespaces

 RAJA
 
 RAJA::internal
 

Functions

template<size_t n_dims, typename IdxLin = Index_type>
RAJA_INLINE constexpr RAJA_HOST_DEVICE auto RAJA::make_offset_layout (const std::array< IdxLin, n_dims > &begin, const std::array< IdxLin, n_dims > &end) -> OffsetLayout< n_dims, IdxLin >
 
template<size_t Rank, typename IdxLin = Index_type>
RAJA_INLINE constexpr RAJA_HOST_DEVICE auto RAJA::make_permuted_offset_layout (const std::array< IdxLin, Rank > &begin, const std::array< IdxLin, Rank > &end, const std::array< IdxLin, Rank > &permutation) -> decltype(make_offset_layout< Rank, IdxLin >(begin, end))
 

Detailed Description

RAJA header file defining Layout, a N-dimensional index calculator with offset indices.