Repository navigation
Open
Labels
breakingBreaking change
Description
This issue tracks entities in CCCL that we want to deprecate in the future. Those should be addressed during the CCCL 3.x cycle, with removal at a later stage. Feel free to add items to this list.
General
- Any API retuning an error code should be
[[nodiscard]] - Enable
performance-unecessary-value-param(performance-unnecessary-value-param#8305)
- Is not useful on device, but we should consider enabling it in some form for host-only API. - Enable
performance-enum-size(performance-enum-size#8304)
- Enum underlying types are considered a public API. - Enable
modernize-use-nodiscard(modernize-use-nodiscard #8452)
-[[nodiscard]is a breaking change, even if it is breaking users that use the API in incorrect ways. - Enable
modernize-use-integer-sign-comparison(modernize-use-integer-sign-comparison #8449)
- CUB should probably have several of its compile-time constants be made unsigned to silence a lot of these warnings. This will require some performance analysis. - Enable
bugprone-argument-comment(bugprone-argument-comment #9529)
- This is nice to have for all those magicnullptrand integer literal arguments. But it causes churn when arguments are renamed as it now affects all callers.
CUB:
- Replace CUB
util_arch.cuhmacros withinline constexprvariables #4165 -
cub::DeviceTopK: enforce the determinism/tie_break pairing rule (both specified insiderequire(...)or both
omitted), ascub::DeviceBatchedTopKalready does. Rejects the pre-3.5require(not_guaranteed, unsorted)form;
the forward-compatible spelling isrequire(not_guaranteed, tie_break::unspecified, unsorted). See the TODO in
cub/cub/device/device_topk.cuh and docs/cub/device_topk_requirements.rst. -
WarpReduceshould use/return accumulator type -
WarpReducedrop edge cases (to discuss), e.g. dynamic num. items with multiple logical warps - Drop
CUB_RUNTIME_FUNCTIONand replace it by_CCCL_CDP_API. DropCUB_DISABLE_CDPandCUB_RDC_ENABLED - Consider replacing
cub::DeviceScan::InclusiveScanInitby a new overload ofInclusiveScan. We didn't do this initially to not break any users of the other overloads and to not add the initial value after the stream at the end. - Remove all CUB dispatchers #7466
- Consider dropping
DeviceSegmentedRadixSortby adding an overload for begin and end bits inDeviceSegmentedSort#6609 - Move non-public headers and directories to
cub/detail, for examplecub/device/dispatch/kernelandcub/device/dispatch/tuning. - Refactor
cub::ThreadLoadandcub::ThreadStoreto a single public entry-point - Drop
cub::AlignBytes - Drop
cub::KeyValuePair(replace bycuda::std::pair) -
DeviceRedice::ArgMin|Maxfor empty problems should no longer write the max/lowestTto the output. The index suffices. - Make all CUB APIs temporarily switch to the stream's device during execution, so CUB API calls where the passed stream's device does not match the current device would become well defined.
- Remove
CCCL_DISABLE_WARPSPEED_SCAN - Refactor vsmem utilities to better fit the design of policy selectors
- Drop
CachingAllocator - [FEA]: Deprecate
BLOCK_REDUCE_WARP_REDUCTIONS_NONDETERMINISTICalgorithm #11909 - Require primitive types in cub::NumericTraits to be trivially copyable #12346
- [CUB] Deprecate
cub::Log2#12672 - [CUB] Deprecate/Remove superseded CUB utilities #12831 (
cub::ThreadExit(),cub::MidPoint(),SHFL_UP_SYNC,SHFL_DOWN_SYNC) - Drop
<cub/config.cuh>
Thrust:
- Evaluate unification of how Thrust execution policies are passed around #3862
- [FEA]: Refactor user-facing Thrust types to use libcu++ #34
- Unify accumulator type handling across CUB/Thrust #3993
- Retire the
thrust::[system]::cuda_cubnamespaces #5837 - [on hold] Drop tests for
thrust::pairandthrust::tuple#6637 -
thrust::[make_][integer|index]_sequencein favor of libcu++ - Maybe the entire error code framework
thrust/thrust/system/detail/error_* - Maybe
thrust::system::cuda::errc -
thrust::mr::validator(move to detail) -
thrust/detail/preprocessor.handTHRUST_PP*macros -
thrust::tuple_for_each - parts of thrust
memory_algorithms.h - thrust
event_error.h -
thrust::has_difference_typeinadvance.inl(move to detail) - Review and deprecate macros from
thrust/thrust/system/cuda/config.h - Remove
thrust::raw_pointer_cast(was replaced bycuda::std::to_address) - Remove
thrust::counting_iteratorin favor ofcuda::counting_iterator - Remove
thrust::constant_iteratorin favor ofcuda::constant_iterator - Remove
thrust::strided_iteratorin favor ofcuda::strided_iterator - Remove
thrust::tabulate_output_iteratorin favor ofcuda::tabulate_output_iterator - Replace
thrust::discard_iteratorwithcuda::discard_iterator(Replace thrust::discard_iterator with cuda::discard_iterator #8276)
-thrust::discard_iteratorhas a non-voidvalue_type, whilecuda::discard_iteratorhasvoid. This can break users that use them in zip iterators and doesn't play well with CUB. - Switch
thrust::minmax_elementto return last maximum, fixes Semantics of thrust::minmax_element do not match those of std::minmax_element #762 and Return value of thrust::minmax_element differs from STL's minmax_element #699 - Point
thrust::complexat libcu++: [on hold] Replace thrust::complex by libcu++ #3507
libcu++
- By default remove canonicalization of denormals in complex multiplication / division #3477
- Remove
<cuda/discard_memory>, deprecated in Deprecate<cuda/discard_memory>#5672 - Remove
<cuda/stream_ref>, deprecated in Deprecate<cuda/stream_ref>header #6266 - Resurrect [on hold] Drop experimental TMA exposure in cuda::barrier #6225
- Remove
compute_capability::major()andcompute_capability::minor(), deprecated in Replace and deprecatecompute_capability::major()andcompute_capability::minor()#7118 -
= deleteoperators<,<=,>and>=forcuda::arch_id, deprecated in Deprecate<,<=,>and>=operators forcuda::arch_id#7655 - Turn
cuda::barrier'sarrival_tokenfrom anint64to a class type that is only movable. - Do not move arrival_token in barrier::try_wait_* #283
- Remove
cuda::bit_reverse, deprecated in [libcu++] Deprecatecuda::bit_reverse#12681 - Change
cuda::thread_scopevalues for CCCL 4.0 #12725
Metadata
Metadata
Assignees
Labels
breakingBreaking change
Type
Projects
- StatusShow more project fieldsTodo
Activity
[-]Track future deprecations[/-][+]Track future deprecations and breaking changes[/+][-]Track future deprecations and breaking changes[/-][+]Track future deprecations and breaking changes for CCCL 4.0[/+]