Back to Cutlass

CUTLASS: Predicate Iterator Concept

docs/group__predicate__iterator__concept.html

4.4.21.8 KB
Original Source

| | CUTLASS

CUDA Templates for Linear Algebra Subroutines and Solvers |

Classes

Predicate Iterator Concept

|

Classes

| | class | cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::Iterator | | | An iterator implementing [Predicate Iterator Concept](group predicate iterator__concept.html) enabling sequential read and write access to predicates. More...
| | | | class | cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ >::ConstIterator | | | An iterator implementing [Predicate Iterator Concept](group predicate iterator__concept.html) enabling sequential read and write access to predicates. More...
| | |

Detailed Description

Implementations of [Predicate Iterator Concept](group predicate iterator__concept.html) enables accessing and traversing elements of a bit vector.

Const Predicate IteratorA const [Predicate Iterator Concept](group predicate iterator__concept.html) satisfies the following expressions

  • ++it increments the iterator to the next predicate
  • *it returns the value of the currently pointed-to predicate

Mutable Predicate IteratorA [Predicate Iterator Concept](group predicate iterator__concept.html) that is non-const also satisfies the following expressions

  • it.set(bool value) sets the value of the currently pointed-to predicate

Generated by 1.8.11