-
Notifications
You must be signed in to change notification settings - Fork 283
CCCL 2.x ‐ CCCL 3.0 migration guide
The CCCL team plans breaking changes carefully and only conducts them at major releases. The CCCL 2.8 release came with many deprecations to prepare for the breaking changes conducted in CCCL 3.0. This page summarizes the changes and helps migrating from CCCL 2.x to CCCL 3.0.
See also the list of all deprecated APIs in CCCL 2.8 and the list of breaking changes in CCCL 3.0.
-
CUB_MAX(a, b)
: Use thecuda::std::max(a, b)
function instead -
CUB_MIN(a, b)
: Use thecuda::std::min(a, b)
function instead -
CUB_QUOTIENT_FLOOR(a, b)
: Use plain integer divisiona / b
instead -
CUB_QUOTIENT_CEILING(a, b)
: Usecuda::ceil_div(a, b)
instead -
CUB_ROUND_UP_NEAREST(a, b)
: Usecuda::round_up(a, b)
instead -
CUB_ROUND_DOWN_NEAREST(a, b)
: Usecuda::round_down(a, b)
instead -
THRUST_STATIC_ASSERT(expr)
: Usestatic_assert(expr)
instead -
THRUST_HOST_BACKEND
: UseTHRUST_HOST_SYSTEM
instead -
THRUST_TUNING_ARCH
: No direct replacement. Use compiler-specific__CUDA_ARCH__
(nvcc) or__NVCOMPILER_CUDA_ARCH__
(nvc++) instead -
CUDA_CUB_RET_IF_FAIL
: No replacement -
cub::SHR_ADD
: No replacement