From 12e1a9f6ed445e8c9f57b15f86288a547ca3d655 Mon Sep 17 00:00:00 2001 From: Elias Stehle <3958403+elstehle@users.noreply.github.com> Date: Wed, 31 Jul 2024 22:14:08 -0700 Subject: [PATCH] moves thrust scan to unsigned offset types --- thrust/thrust/system/cuda/detail/scan.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/thrust/thrust/system/cuda/detail/scan.h b/thrust/thrust/system/cuda/detail/scan.h index e225f2cfe4e..e2530691db7 100644 --- a/thrust/thrust/system/cuda/detail/scan.h +++ b/thrust/thrust/system/cuda/detail/scan.h @@ -63,8 +63,8 @@ _CCCL_HOST_DEVICE OutputIt inclusive_scan_n_impl( thrust::cuda_cub::execution_policy& policy, InputIt first, Size num_items, OutputIt result, ScanOp scan_op) { using AccumT = typename thrust::iterator_traits::value_type; - using Dispatch32 = cub::DispatchScan; - using Dispatch64 = cub::DispatchScan; + using Dispatch32 = cub::DispatchScan; + using Dispatch64 = cub::DispatchScan; cudaStream_t stream = thrust::cuda_cub::stream(policy); cudaError_t status; @@ -113,8 +113,8 @@ _CCCL_HOST_DEVICE OutputIt exclusive_scan_n_impl( ScanOp scan_op) { using InputValueT = cub::detail::InputValue; - using Dispatch32 = cub::DispatchScan; - using Dispatch64 = cub::DispatchScan; + using Dispatch32 = cub::DispatchScan; + using Dispatch64 = cub::DispatchScan; cudaStream_t stream = thrust::cuda_cub::stream(policy); cudaError_t status;