cub::BFE
Defined in cub/util_ptx.cuh
-
template<typename UnsignedBits>
unsigned int cub::BFE(UnsignedBits source, unsigned int bit_start, unsigned int num_bits) Bitfield-extract.
Extracts
num_bits
fromsource
starting at bit-offsetbit_start
. The inputsource
may be an 8b, 16b, 32b, or 64b unsigned integer type.