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::AtomicViewWrapper< ViewType, AtomicPolicy > Struct Template Reference

#include <View.hpp>

Public Types

using base_type = ViewType
 
using pointer_type = typename base_type::pointer_type
 
using value_type = typename base_type::value_type
 
using atomic_type = RAJA::AtomicRef< value_type, AtomicPolicy >
 

Public Member Functions

RAJA_HOST_DEVICE constexpr RAJA_INLINE AtomicViewWrapper (ViewType view)
 
RAJA_HOST_DEVICE constexpr RAJA_INLINE void set_data (pointer_type data_ptr)
 
template<typename... ARGS>
RAJA_HOST_DEVICE RAJA_INLINE atomic_type operator() (ARGS &&... args) const
 

Public Attributes

base_type base_
 

Member Typedef Documentation

◆ base_type

template<typename ViewType , typename AtomicPolicy = RAJA::auto_atomic>
using RAJA::AtomicViewWrapper< ViewType, AtomicPolicy >::base_type = ViewType

◆ pointer_type

template<typename ViewType , typename AtomicPolicy = RAJA::auto_atomic>
using RAJA::AtomicViewWrapper< ViewType, AtomicPolicy >::pointer_type = typename base_type::pointer_type

◆ value_type

template<typename ViewType , typename AtomicPolicy = RAJA::auto_atomic>
using RAJA::AtomicViewWrapper< ViewType, AtomicPolicy >::value_type = typename base_type::value_type

◆ atomic_type

template<typename ViewType , typename AtomicPolicy = RAJA::auto_atomic>
using RAJA::AtomicViewWrapper< ViewType, AtomicPolicy >::atomic_type = RAJA::AtomicRef<value_type, AtomicPolicy>

Constructor & Destructor Documentation

◆ AtomicViewWrapper()

template<typename ViewType , typename AtomicPolicy = RAJA::auto_atomic>
RAJA_HOST_DEVICE constexpr RAJA_INLINE RAJA::AtomicViewWrapper< ViewType, AtomicPolicy >::AtomicViewWrapper ( ViewType  view)
inlineexplicitconstexpr

Member Function Documentation

◆ set_data()

template<typename ViewType , typename AtomicPolicy = RAJA::auto_atomic>
RAJA_HOST_DEVICE constexpr RAJA_INLINE void RAJA::AtomicViewWrapper< ViewType, AtomicPolicy >::set_data ( pointer_type  data_ptr)
inlineconstexpr

◆ operator()()

template<typename ViewType , typename AtomicPolicy = RAJA::auto_atomic>
template<typename... ARGS>
RAJA_HOST_DEVICE RAJA_INLINE atomic_type RAJA::AtomicViewWrapper< ViewType, AtomicPolicy >::operator() ( ARGS &&...  args) const
inline

Member Data Documentation

◆ base_

template<typename ViewType , typename AtomicPolicy = RAJA::auto_atomic>
base_type RAJA::AtomicViewWrapper< ViewType, AtomicPolicy >::base_

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