Skip to content

Retire the thrust::[system]::cuda_cub namespaces #5837

Open

Description

@bernhardmgruber

Thrust has a namespace for each system (backend), except for the CUDA backend, which lives in two namespaces cuda and cuda_cub. This is worked around in various places by providing aliases in the corresponding other namespace. Most entities are defined in cuda_cub, but the backend selection macros (like __THRUST_DEVICE_SYSTEM_NAMESPACE) use cuda.

I think we should clean this up and move all of the CUDA backend into the cuda namespace. Aliases should remain in the cuda_cub namespace and be deprecated for removal in CCCL 4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions