Skip to content

Track future deprecations and breaking changes for CCCL 4.0 #3701

Open

Description

@bernhardmgruber

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 magic nullptr and integer literal arguments. But it causes churn when arguments are renamed as it now affects all callers.

CUB:

Thrust:

libcu++

Activity

  1. changed the title [-]Track future deprecations[/-] [+]Track future deprecations and breaking changes[/+] on Mar 22, 2025
  2. changed the title [-]Track future deprecations and breaking changes[/-] [+]Track future deprecations and breaking changes for CCCL 4.0[/+] on Nov 13, 2025
  3. added
    breaking
    and removed on Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

breaking

Type

No type

Projects

  • Status
    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions