DiscardOutputIterator< OffsetT > Class Template Reference

DiscardOutputIterator&lt; OffsetT &gt; Class Template Reference#

hipCUB: hipcub::DiscardOutputIterator< OffsetT > Class Template Reference
hipcub::DiscardOutputIterator< OffsetT > Class Template Reference

A discard iterator. More...

#include <discard_output_iterator.hpp>

Public Types

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

Public Member Functions

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

Friends

std::ostream & operator<< (std::ostream &os, const self_type &itr)
 

Detailed Description

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

A discard iterator.


The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.6.0/hipcub/include/hipcub/backend/rocprim/iterator/discard_output_iterator.hpp