RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Static Public Member Functions | List of all members
RAJA::detail::DefaultAccessor Struct Reference

Abstracts access to memory using normal memory accesses. More...

#include <types.hpp>

Static Public Member Functions

template<typename T >
static RAJA_HOST_DEVICE constexpr RAJA_INLINE T get (T *ptr, size_t i)
 
template<typename T >
static RAJA_HOST_DEVICE constexpr RAJA_INLINE void set (T *ptr, size_t i, T val)
 

Detailed Description

Abstracts access to memory using normal memory accesses.

Member Function Documentation

◆ get()

template<typename T >
static RAJA_HOST_DEVICE constexpr RAJA_INLINE T RAJA::detail::DefaultAccessor::get ( T *  ptr,
size_t  i 
)
inlinestaticconstexpr

◆ set()

template<typename T >
static RAJA_HOST_DEVICE constexpr RAJA_INLINE void RAJA::detail::DefaultAccessor::set ( T *  ptr,
size_t  i,
val 
)
inlinestaticconstexpr

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