UtilIterator

UtilIterator#

hipCUB: UtilIterator
UtilIterator

Classes

class  hipcub::DiscardOutputIterator< OffsetT >
 A discard iterator. More...
 

Typedefs

typedef DiscardOutputIterator hipcub::DiscardOutputIterator< OffsetT >::self_type
 My own type. More...
 
typedef OffsetT hipcub::DiscardOutputIterator< OffsetT >::difference_type
 Type to express the result of subtracting one iterator from another.
 
typedef void hipcub::DiscardOutputIterator< OffsetT >::value_type
 The type of the element the iterator can point to.
 
typedef void hipcub::DiscardOutputIterator< OffsetT >::pointer
 The type of a pointer to an element the iterator can point to.
 
typedef void hipcub::DiscardOutputIterator< OffsetT >::reference
 The type of a reference to an element the iterator can point to.
 
typedef std::random_access_iterator_tag hipcub::DiscardOutputIterator< OffsetT >::iterator_category
 The iterator category.
 

Functions

__host__ __device__ __forceinline__ hipcub::DiscardOutputIterator< OffsetT >::DiscardOutputIterator (OffsetT offset=0)
 Constructor. More...
 
__host__ __device__ __forceinline__ self_type hipcub::DiscardOutputIterator< OffsetT >::operator++ (int)
 
__host__ __device__ __forceinline__ self_type hipcub::DiscardOutputIterator< OffsetT >::operator++ ()
 
__host__ __device__ __forceinline__ self_typehipcub::DiscardOutputIterator< OffsetT >::operator* ()
 
template<typename Distance >
__host__ __device__ __forceinline__ self_type hipcub::DiscardOutputIterator< OffsetT >::operator+ (Distance n) const
 
template<typename Distance >
__host__ __device__ __forceinline__ self_typehipcub::DiscardOutputIterator< OffsetT >::operator+= (Distance n)
 
template<typename Distance >
__host__ __device__ __forceinline__ self_type hipcub::DiscardOutputIterator< OffsetT >::operator- (Distance n) const
 
template<typename Distance >
__host__ __device__ __forceinline__ self_typehipcub::DiscardOutputIterator< OffsetT >::operator-= (Distance n)
 
__host__ __device__ __forceinline__ difference_type hipcub::DiscardOutputIterator< OffsetT >::operator- (self_type other) const
 
template<typename Distance >
__host__ __device__ __forceinline__ self_typehipcub::DiscardOutputIterator< OffsetT >::operator[] (Distance)
 
__host__ __device__ __forceinline__ pointer hipcub::DiscardOutputIterator< OffsetT >::operator-> ()
 Structure dereference.
 
template<typename T >
__host__ __device__ __forceinline__ void hipcub::DiscardOutputIterator< OffsetT >::operator= (T const &)
 Assignment to anything else (no-op)
 
__host__ __device__ __forceinline__ hipcub::DiscardOutputIterator< OffsetT >::operator void * () const
 Cast to void* operator.
 
__host__ __device__ __forceinline__ bool hipcub::DiscardOutputIterator< OffsetT >::operator== (const self_type &rhs)
 
__host__ __device__ __forceinline__ bool hipcub::DiscardOutputIterator< OffsetT >::operator!= (const self_type &rhs)
 

Friends

std::ostream & hipcub::DiscardOutputIterator< OffsetT >::operator<< (std::ostream &os, const self_type &itr)
 

Detailed Description

Typedef Documentation

◆ self_type

template<typename OffsetT = ptrdiff_t>
hipcub::DiscardOutputIterator< OffsetT >::self_type

My own type.

ostream operator

Not equal to.

Equal to.

Array subscript.

Distance.

Subtraction assignment.

Addition assignment.

Addition.

Indirection.

Postfix increment.

Function Documentation

◆ DiscardOutputIterator()

template<typename OffsetT = ptrdiff_t>
__host__ __device__ __forceinline__ hipcub::DiscardOutputIterator< OffsetT >::DiscardOutputIterator ( OffsetT  offset = 0)
inline

Constructor.

Parameters
offsetBase offset