@@ -76,7 +76,7 @@ struct __pstl_dispatch<__pstl_algorithm::__inclusive_scan, __execution_backend::
7676 // Determine temporary device storage requirements for reduce
7777 size_t __num_bytes = 0 ;
7878 _CCCL_TRY_CUDA_API (
79- ::cub ::DeviceScan::InclusiveScanInit,
79+ CUB_NS_QUALIFIER ::DeviceScan::InclusiveScanInit,
8080 " __pstl_cuda_inclusive_scan: determination of device storage for cub::DeviceScan::InclusiveScanInit failed" ,
8181 static_cast <void *>(nullptr ),
8282 __num_bytes,
@@ -96,7 +96,7 @@ struct __pstl_dispatch<__pstl_algorithm::__inclusive_scan, __execution_backend::
9696
9797 // Run the scan
9898 _CCCL_TRY_CUDA_API (
99- ::cub ::DeviceScan::InclusiveScanInit,
99+ CUB_NS_QUALIFIER ::DeviceScan::InclusiveScanInit,
100100 " __pstl_cuda_exclusive_scan: kernel launch of cub::DeviceScan::InclusiveScanInit failed" ,
101101 __storage.__get_temp_storage (),
102102 __num_bytes,
@@ -125,7 +125,7 @@ struct __pstl_dispatch<__pstl_algorithm::__inclusive_scan, __execution_backend::
125125 // Determine temporary device storage requirements for reduce
126126 size_t __num_bytes = 0 ;
127127 _CCCL_TRY_CUDA_API (
128- ::cub ::DeviceScan::InclusiveScan,
128+ CUB_NS_QUALIFIER ::DeviceScan::InclusiveScan,
129129 " __pstl_cuda_inclusive_scan: determination of device storage for cub::DeviceScan::InclusiveScan failed" ,
130130 static_cast <void *>(nullptr ),
131131 __num_bytes,
@@ -144,7 +144,7 @@ struct __pstl_dispatch<__pstl_algorithm::__inclusive_scan, __execution_backend::
144144
145145 // Run the scan
146146 _CCCL_TRY_CUDA_API (
147- ::cub ::DeviceScan::InclusiveScan,
147+ CUB_NS_QUALIFIER ::DeviceScan::InclusiveScan,
148148 " __pstl_cuda_exclusive_scan: kernel launch of cub::DeviceScan::InclusiveScan failed" ,
149149 __storage.__get_temp_storage (),
150150 __num_bytes,
0 commit comments