/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.7.0/hipcub/include/hipcub/backend/rocprim/iterator/cache_modified_input_iterator.hpp Source File#
cache_modified_input_iterator.hpp
Definition: cache_modified_input_iterator.hpp:52
__host__ __device__ __forceinline__ self_type operator++()
Prefix increment.
Definition: cache_modified_input_iterator.hpp:84
__host__ __device__ __forceinline__ self_type operator-(Distance n) const
Subtraction.
Definition: cache_modified_input_iterator.hpp:114
OffsetT difference_type
Type to express the result of subtracting one iterator from another.
Definition: cache_modified_input_iterator.hpp:57
ValueType reference
The type of a reference to an element the iterator can point to.
Definition: cache_modified_input_iterator.hpp:60
__device__ __forceinline__ reference operator[](Distance n) const
Array subscript.
Definition: cache_modified_input_iterator.hpp:136
CacheModifiedInputIterator self_type
My own type.
Definition: cache_modified_input_iterator.hpp:56
ValueType * pointer
The type of a pointer to an element the iterator can point to.
Definition: cache_modified_input_iterator.hpp:59
__host__ __device__ __forceinline__ bool operator==(const self_type &rhs)
Equal to.
Definition: cache_modified_input_iterator.hpp:148
__device__ __forceinline__ reference operator*() const
Indirection.
Definition: cache_modified_input_iterator.hpp:91
ValueType * ptr
Wrapped native pointer.
Definition: cache_modified_input_iterator.hpp:66
__host__ __device__ __forceinline__ self_type operator+(Distance n) const
Addition.
Definition: cache_modified_input_iterator.hpp:98
__host__ __device__ __forceinline__ difference_type operator-(self_type other) const
Distance.
Definition: cache_modified_input_iterator.hpp:129
ValueType value_type
The type of the element the iterator can point to.
Definition: cache_modified_input_iterator.hpp:58
__host__ __device__ __forceinline__ bool operator!=(const self_type &rhs)
Not equal to.
Definition: cache_modified_input_iterator.hpp:154
std::random_access_iterator_tag iterator_category
The iterator category.
Definition: cache_modified_input_iterator.hpp:61
__device__ __forceinline__ pointer operator->()
Structure dereference.
Definition: cache_modified_input_iterator.hpp:142
__host__ __device__ __forceinline__ self_type operator++(int)
Postfix increment.
Definition: cache_modified_input_iterator.hpp:76
__host__ __device__ __forceinline__ CacheModifiedInputIterator(ValueType *ptr)
Constructor.
Definition: cache_modified_input_iterator.hpp:69
__host__ __device__ __forceinline__ self_type & operator+=(Distance n)
Addition assignment.
Definition: cache_modified_input_iterator.hpp:106
__host__ __device__ __forceinline__ self_type & operator-=(Distance n)
Subtraction assignment.
Definition: cache_modified_input_iterator.hpp:122