Template Class CacheModifiedInputIterator¶
Defined in File cache_modified_input_iterator.hpp
Class Documentation¶
-
template<CacheLoadModifier MODIFIER, typename ValueType, typename OffsetT = ptrdiff_t>
class hipcub::CacheModifiedInputIterator¶ Public Types
-
typedef CacheModifiedInputIterator self_type¶
My own type.
-
typedef OffsetT difference_type¶
Type to express the result of subtracting one iterator from another.
-
typedef std::random_access_iterator_tag iterator_category¶
The iterator category.
Public Functions
-
__host__ __device__ __forceinline__ inline CacheModifiedInputIterator(ValueType *ptr)¶
Constructor.
- Parameters
ptr – Native pointer to wrap
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type operator+(Distance n) const¶ Addition.
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type &operator+=(Distance n)¶ Addition assignment.
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type operator-(Distance n) const¶ Subtraction.
-
template<typename Distance>
__host__ __device__ __forceinline__ inline self_type &operator-=(Distance n)¶ Subtraction assignment.
-
__host__ __device__ __forceinline__ inline difference_type operator-(self_type other) const¶
Distance.
-
typedef CacheModifiedInputIterator self_type¶