RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Public Types | Public Member Functions | Public Attributes | List of all members
RAJA::detail::icount_adapter< Range, Body, IndexT > Struct Template Reference

Adapter to replace specific implementations for the icount variants. More...

#include <forall.hpp>

Public Types

using index_type = typename std::decay< IndexT >::type
 
using container_type = typename std::decay< Range >::type
 

Public Member Functions

 icount_adapter (Range const &r, Body const &b, IndexT icount_)
 
template<typename T >
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE void operator() (T const &i) const
 

Public Attributes

std::decay< Body >::type body
 
container_type::iterator begin_it
 
Index_type icount
 

Detailed Description

template<typename Range, typename Body, typename IndexT>
struct RAJA::detail::icount_adapter< Range, Body, IndexT >

Adapter to replace specific implementations for the icount variants.

Member Typedef Documentation

◆ index_type

template<typename Range , typename Body , typename IndexT >
using RAJA::detail::icount_adapter< Range, Body, IndexT >::index_type = typename std::decay<IndexT>::type

◆ container_type

template<typename Range , typename Body , typename IndexT >
using RAJA::detail::icount_adapter< Range, Body, IndexT >::container_type = typename std::decay<Range>::type

Constructor & Destructor Documentation

◆ icount_adapter()

template<typename Range , typename Body , typename IndexT >
RAJA::detail::icount_adapter< Range, Body, IndexT >::icount_adapter ( Range const &  r,
Body const &  b,
IndexT  icount_ 
)
inline

Member Function Documentation

◆ operator()()

template<typename Range , typename Body , typename IndexT >
template<typename T >
RAJA_SUPPRESS_HD_WARN RAJA_HOST_DEVICE void RAJA::detail::icount_adapter< Range, Body, IndexT >::operator() ( T const &  i) const
inline

Member Data Documentation

◆ body

template<typename Range , typename Body , typename IndexT >
std::decay<Body>::type RAJA::detail::icount_adapter< Range, Body, IndexT >::body

◆ begin_it

template<typename Range , typename Body , typename IndexT >
container_type::iterator RAJA::detail::icount_adapter< Range, Body, IndexT >::begin_it

◆ icount

template<typename Range , typename Body , typename IndexT >
Index_type RAJA::detail::icount_adapter< Range, Body, IndexT >::icount

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