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

RAJA header file defining a multi-dimensional view class. More...

#include <type_traits>
#include "RAJA/config.hpp"
#include "RAJA/pattern/atomic.hpp"
#include "RAJA/util/Layout.hpp"
#include "RAJA/util/StaticLayout.hpp"
#include "RAJA/util/OffsetLayout.hpp"

Go to the source code of this file.

Classes

struct  RAJA::internal::IndexToType< idx_t, T >
 
struct  RAJA::internal::SequenceToType< camp::idx_seq< Perm... >, T >
 
struct  RAJA::internal::add_offset< layout >
 
struct  RAJA::internal::add_offset< RAJA::TypedLayout< IdxLin, camp::tuple< DimTypes... > > >
 
struct  RAJA::internal::count_num_tensor_args< ARGS >
 
struct  RAJA::internal::detail::ViewReturnHelper< camp::idx_seq<>, camp::list< Args... >, ElementType, PointerType, LinIdx, LayoutType >
 
struct  RAJA::internal::detail::MatchTypedViewArgHelper< Expected, Arg >
 
class  RAJA::internal::ViewBase< ValueType, PointerType, LayoutType >
 
class  RAJA::internal::TypedViewBase< ValueType, PointerType, LayoutType, camp::list< IndexTypes... > >
 

Namespaces

 RAJA
 
 RAJA::internal
 
 RAJA::internal::detail
 

Typedefs

template<typename Perm >
using RAJA::internal::getDefaultIndexTypes = typename SequenceToType< Perm, RAJA::Index_type >::type
 
template<typename ElementType , typename PointerType , typename LinIdx , typename LayoutType , typename... Args>
using RAJA::internal::view_return_type_t = typename detail::ViewReturnHelper< camp::make_idx_seq_t< count_num_tensor_args< Args... >::value >, camp::list< Args... >, ElementType, PointerType, LinIdx, LayoutType >::return_type
 

Functions

template<typename ElementType , typename LinIdx , typename LayoutType , typename PointerType , typename... Args>
RAJA_INLINE constexpr RAJA_HOST_DEVICE view_return_type_t< ElementType, PointerType, LinIdx, LayoutType, Args... > RAJA::internal::view_make_return_value (LayoutType const &layout, PointerType const &data, Args const &... args)
 
template<typename Expected , typename Arg >
RAJA_HOST_DEVICE constexpr RAJA_INLINE detail::MatchTypedViewArgHelper< Expected, Arg >::type RAJA::internal::match_typed_view_arg (Arg const &arg)
 

Detailed Description

RAJA header file defining a multi-dimensional view class.