Use cub::ReduceByKey to count partition indices (#14665)
* Use cub::ReduceByKey to count how many times each partition index appears. This implements a suggestion by @ekelsen. It replaces the previously custom-made counting method and is likely more efficient. * Remove CubReduceAdd and use instead cub::Sum.
Loading
Please sign in to comment