Segmented Prefix Sums# Segmented Prefix Sums thrust::inclusive_scan_by_key thrust::exclusive_scan_by_key