Accesses a bit within the predicate vector.
| 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) { |