CUTLASS
CUDA Templates for Linear Algebra Subroutines and Solvers
Public Member Functions | List of all members
cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator Class Reference

An iterator implementing Predicate Iterator Concept enabling sequential read and write access to predicates.

#include <predicate_vector.h>

Public Member Functions

CUTLASS_HOST_DEVICE ConstIterator (ConstIterator const &it)
 Copy constructor. More...
 
CUTLASS_HOST_DEVICE ConstIterator (PredicateVector const &vec, int _start=0)
 Constructs an iterator from a PredicateVector. More...
 
CUTLASS_HOST_DEVICE ConstIteratoroperator++ ()
 Pre-increment. More...
 
CUTLASS_HOST_DEVICE ConstIteratoroperator+= (int offset)
 Increment. More...
 
CUTLASS_HOST_DEVICE ConstIteratoroperator-- ()
 Pre-decrement. More...
 
CUTLASS_HOST_DEVICE ConstIteratoroperator-= (int offset)
 Decrement. More...
 
CUTLASS_HOST_DEVICE ConstIterator operator++ (int)
 Post-increment. More...
 
CUTLASS_HOST_DEVICE ConstIterator operator-- (int)
 Post-decrement. More...
 
CUTLASS_HOST_DEVICE ConstIterator operator+ (int offset)
 Iterator advances by some amount. More...
 
CUTLASS_HOST_DEVICE ConstIterator operator- (int offset)
 Iterator recedes by some amount. More...
 
CUTLASS_HOST_DEVICE bool operator== (ConstIterator const &it) const
 Returns true if iterators point to the same bit. More...
 
CUTLASS_HOST_DEVICE bool operator!= (ConstIterator const &it) const
 Returns false if iterators point to the same bit. More...
 
CUTLASS_HOST_DEVICE bool get ()
 Gets the bit at the pointed to location. More...
 
CUTLASS_HOST_DEVICE bool at () const
 Gets the bit at the pointed to location. More...
 
CUTLASS_HOST_DEVICE bool operator* () const
 Dereferences iterator. More...
 

Constructor & Destructor Documentation

template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::ConstIterator ( ConstIterator const &  it)
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::ConstIterator ( PredicateVector const &  vec,
int  _start = 0 
)
inline

Member Function Documentation

template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE bool cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::at ( ) const
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE bool cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::get ( )
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE bool cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator!= ( ConstIterator const &  it) const
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE bool cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator* ( ) const
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE ConstIterator cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator+ ( int  offset)
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE ConstIterator& cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator++ ( )
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE ConstIterator cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator++ ( int  )
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE ConstIterator& cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator+= ( int  offset)
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE ConstIterator cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator- ( int  offset)
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE ConstIterator& cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator-- ( )
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE ConstIterator cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator-- ( int  )
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE ConstIterator& cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator-= ( int  offset)
inline
template<int kPredicates_, int kPredicatesPerByte_ = 4, int kPredicateStart_ = 0>
CUTLASS_HOST_DEVICE bool cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator::operator== ( ConstIterator const &  it) const
inline

The documentation for this class was generated from the following file: