Links thrust::reduce_by_key() thrust::reduce() thrust::inclusive_scan_by_key() https://developer.nvidia.com/nvidia-hpc-sdk-releases https://www.youtube.com/watch?v=V5SCJIWIPjk