ExclusiveSum function

Where I can get a sample of implementation of ExclusiveSum(…) function from CUB?

Device-wide: cub::DeviceScan — cub 2.5 documentation

block-level: cub::BlockScan — cub 2.5 documentation

Thanks a lot.