CUB provides state-of-the-art, reusable software components for every layer of the CUDA programming model.