cub::BFI

Defined in cub/util_ptx.cuh

void cub::BFI(unsigned int &ret, unsigned int x, unsigned int y, unsigned int bit_start, unsigned int num_bits)

Bitfield insert.

Inserts the num_bits least significant bits of y into x at bit-offset bit_start.