Template Class ArrayWrap
Defined in File ArrayWrap.hpp
Class Documentation
-
template<typename ValueType>
class ArrayWrap Public Types
-
using value_type = typename itr_traits::value_type
-
using difference_type = typename itr_traits::difference_type
-
using pointer = typename itr_traits::pointer
-
using reference = typename itr_traits::reference
Public Functions
-
ArrayWrap() = default
- inline explicit __host__ __device__ ArrayWrap (value_type *data, size_type length, size_type stride=static_cast< size_type >(sizeof(value_type)))
- inline __host__ __device__ size_type length () const
- inline __host__ __device__ size_type size () const
- inline __host__ __device__ value_type & operator[] (size_type c) const
- inline __host__ __device__ pointer ptr (size_type c) const
- inline __host__ __device__ operator pointer () const
Protected Functions
- inline __host__ __device__ pointer doGetPtr (size_type c) const
-
using value_type = typename itr_traits::value_type