20 #ifndef RAJA_SOA_ARRAY_HPP
21 #define RAJA_SOA_ARRAY_HPP
23 #include "RAJA/config.hpp"
40 template<
typename T,
size_t size>
60 template<
typename T,
typename IndexType,
bool doing_min,
size_t size>
65 using second_type = IndexType;
81 second_type mem_idx[size];
constexpr RAJA_HOST_DEVICE value_type get(size_t i) const
Definition: SoAArray.hpp:68
constexpr RAJA_HOST_DEVICE void set(size_t i, value_type val)
Definition: SoAArray.hpp:73
Array class specialized for Struct of Array data layout.
Definition: SoAArray.hpp:42
constexpr RAJA_HOST_DEVICE value_type get(size_t i) const
Definition: SoAArray.hpp:46
constexpr RAJA_HOST_DEVICE void set(size_t i, value_type val)
Definition: SoAArray.hpp:48
Definition: reduce.hpp:131
RAJA_HOST_DEVICE IndexType getLoc()
Definition: reduce.hpp:170
#define RAJA_HOST_DEVICE
Definition: macros.hpp:65
Definition: AlignedRangeIndexSetBuilders.cpp:35
Base types used in common for RAJA reducer objects.