Skip to content

Integrate CCCL runtime APIs into nvbench #410

Open

Description

@pciolkosz

I noticed nvbench has nvbench::cuda_stream type, we should refactor it to use cuda::stream_ref instead. There could be more examples like that or just internals could use the new CCCL runtime APIs

Activity

  1. bernhardmgruber commented on Jul 14, 2026

    @bernhardmgruber
    Collaborator

    I fully agree, that this would be useful! After that, we could also simplify all of CCCL's benchmarks that take the nvbench stream and rewrap it in a cuda_stream passed to the environment.

  2. oleksandr-pavlyk commented on Jul 15, 2026

    @oleksandr-pavlyk
    Collaborator

    cuda::stream_ref was introduced in CTK 12.2, CCCL 2.2. NVBench support matrix includes 12.0 and 12.1.

  3. pciolkosz commented on Jul 15, 2026

    @pciolkosz
    Author

    Ahh, we might need to wait until CUDA 14.0 then

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

    blockedCurrently cannot make progress.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions