RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Types | Static Public Member Functions | List of all members
RAJA::internal::expt::TensorIndexTraits< ARG > Struct Template Reference

#include <TensorIndexTraits.hpp>

Public Types

using arg_type = ARG
 
using value_type = strip_index_type_t< ARG >
 

Static Public Member Functions

RAJA_INLINE static constexpr RAJA_HOST_DEVICE bool isTensorIndex ()
 
RAJA_INLINE static constexpr RAJA_HOST_DEVICE arg_type const & strip (arg_type const &arg)
 
RAJA_INLINE static constexpr RAJA_HOST_DEVICE arg_type const strip_by_value (arg_type const arg)
 
RAJA_INLINE static constexpr RAJA_HOST_DEVICE value_type size (arg_type const &)
 
RAJA_INLINE static constexpr RAJA_HOST_DEVICE value_type begin (arg_type const &)
 
RAJA_INLINE static constexpr RAJA_HOST_DEVICE value_type dim ()
 
RAJA_INLINE static constexpr RAJA_HOST_DEVICE value_type num_elem ()
 

Member Typedef Documentation

◆ arg_type

template<typename ARG >
using RAJA::internal::expt::TensorIndexTraits< ARG >::arg_type = ARG

◆ value_type

template<typename ARG >
using RAJA::internal::expt::TensorIndexTraits< ARG >::value_type = strip_index_type_t<ARG>

Member Function Documentation

◆ isTensorIndex()

template<typename ARG >
RAJA_INLINE static constexpr RAJA_HOST_DEVICE bool RAJA::internal::expt::TensorIndexTraits< ARG >::isTensorIndex ( )
inlinestaticconstexpr

◆ strip()

template<typename ARG >
RAJA_INLINE static constexpr RAJA_HOST_DEVICE arg_type const& RAJA::internal::expt::TensorIndexTraits< ARG >::strip ( arg_type const &  arg)
inlinestaticconstexpr

◆ strip_by_value()

template<typename ARG >
RAJA_INLINE static constexpr RAJA_HOST_DEVICE arg_type const RAJA::internal::expt::TensorIndexTraits< ARG >::strip_by_value ( arg_type const  arg)
inlinestaticconstexpr

◆ size()

template<typename ARG >
RAJA_INLINE static constexpr RAJA_HOST_DEVICE value_type RAJA::internal::expt::TensorIndexTraits< ARG >::size ( arg_type const &  )
inlinestaticconstexpr

◆ begin()

template<typename ARG >
RAJA_INLINE static constexpr RAJA_HOST_DEVICE value_type RAJA::internal::expt::TensorIndexTraits< ARG >::begin ( arg_type const &  )
inlinestaticconstexpr

◆ dim()

template<typename ARG >
RAJA_INLINE static constexpr RAJA_HOST_DEVICE value_type RAJA::internal::expt::TensorIndexTraits< ARG >::dim ( )
inlinestaticconstexpr

◆ num_elem()

template<typename ARG >
RAJA_INLINE static constexpr RAJA_HOST_DEVICE value_type RAJA::internal::expt::TensorIndexTraits< ARG >::num_elem ( )
inlinestaticconstexpr

The documentation for this struct was generated from the following file: