MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / at

Method at

include/cutlass/predicate_vector.h:478–483  ·  view source on GitHub ↗

Accesses a bit within the predicate vector.

Source from the content-addressed store, hash-verified

476
477 /// Accesses a bit within the predicate vector.
478 CUTLASS_HOST_DEVICE bool at(int idx) const {
479 int bit, word;
480 computeStorageOffset(word, bit, idx);
481
482 return ((storage(word) >> bit) & 1);
483 }
484
485 /// Set a bit within the predicate vector.
486 CUTLASS_HOST_DEVICE void set(int idx, bool value = true) {

Callers 4

getMethod · 0.45
atMethod · 0.45
getMethod · 0.45
atMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected