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

Method enable

include/cutlass/predicate_vector.h:467–472  ·  view source on GitHub ↗

Sets all predicates to true

Source from the content-addressed store, hash-verified

465
466 /// Sets all predicates to true
467 CUTLASS_HOST_DEVICE void enable() {
468 CUTLASS_PRAGMA_UNROLL
469 for (int i = 0; i < kWordCount; ++i) {
470 storage(i) = ~Storage(0);
471 }
472 }
473
474 /// Accesses a bit within the predicate vector.
475 CUTLASS_HOST_DEVICE bool operator[](int idx) const { return at(idx); }

Callers 1

benchmarkFunction · 0.45

Calls

no outgoing calls

Tested by 1

benchmarkFunction · 0.36