Skip to content

Change cuda::thread_scope values for CCCL 4.0 #12725

Open

Description

@davebayer

Currently, the cuda::thread_scope is defined as:

namepsace cuda {

// TODO: Space values out for potential new scopes at an ABI break.
enum thread_scope // NOLINT(cppcoreguidelines-use-enum-class)
{
  thread_scope_system  = 0,
  thread_scope_device  = 1,
  thread_scope_cluster = 3,
  thread_scope_block   = 2,
  thread_scope_thread  = 10
};

} // namespace cuda

which doesn't make sense since cluster is a wider scope than block. We should reorder the values, but that's an ABI change, which we can only do for 4.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions