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

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

#include "RAJA/config.hpp"
#include <cassert>
#include <iostream>
#include <limits>
#include "RAJA/index/IndexValue.hpp"
#include "RAJA/internal/foldl.hpp"
#include "RAJA/util/Operators.hpp"
#include "RAJA/util/Permutations.hpp"

Go to the source code of this file.

Classes

struct  RAJA::detail::stride_calculator< j, n_dims, IdxLin >
 
struct  RAJA::detail::stride_calculator< n_dims, n_dims, IdxLin >
 
struct  RAJA::detail::LayoutBase_impl< camp::idx_seq< RangeInts... >, IdxLin, StrideOneDim >
 
struct  RAJA::TypedLayout< IdxLin, camp::tuple< DimTypes... >, StrideOne >
 

Namespaces

 RAJA
 
 RAJA::detail
 

Typedefs

template<size_t n_dims, typename IdxLin = Index_type, ptrdiff_t StrideOne = -1>
using RAJA::Layout = detail::LayoutBase_impl< camp::make_idx_seq_t< n_dims >, IdxLin, StrideOne >
 A mapping of n-dimensional index space to a linear index space. More...
 

Functions

template<ptrdiff_t s1_dim, size_t n_dims, typename IdxLin >
RAJA_INLINE constexpr RAJA_HOST_DEVICE Layout< n_dims, IdxLin, s1_dim > RAJA::make_stride_one (Layout< n_dims, IdxLin > const &l)
 
template<ptrdiff_t s1_dim, typename IdxLin , typename IdxTuple >
RAJA_INLINE constexpr RAJA_HOST_DEVICE TypedLayout< IdxLin, IdxTuple, s1_dim > RAJA::make_stride_one (TypedLayout< IdxLin, IdxTuple > const &l)
 

Detailed Description

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