cub::SHR_ADD

Defined in cub/util_ptx.cuh

unsigned int cub::SHR_ADD(unsigned int x, unsigned int shift, unsigned int addend)

Shift-right then add.

Returns (x >> shift) + addend.