Back to Cutlass

CUTLASS: Predicate Vector Concept

docs/group__predicate__vector__concept.html

4.4.21.3 KB
Original Source

| | CUTLASS

CUDA Templates for Linear Algebra Subroutines and Solvers |

Classes

Predicate Vector Concept

|

Classes

| | struct | cutlass::PredicateVector< kPredicates_, kPredicatesPerByte_, kPredicateStart_ > | | | Statically sized array of bits implementing. More...
| | |

Detailed Description

Implementations of [Predicate Vector Concept](group predicate vector__concept.html) contain an ordered set of boolean predicates which may be used as conditionals in other device-side operations. Both random access and iterators offering sequential access are provided.

Predicate VectorA [Predicate Vector Concept](group predicate vector__concept.html) satisfies the following expressions

  • at(int idx) - returns the value of the indexed predicate
  • set(int idx, bool value) - sets the value of the indexed predicate
  • begin() - returns a [Predicate Iterator Concept](group predicate iterator__concept.html) pointing to the first predicate

Generated by 1.8.11