CCCL Runtime: A Modern C++ Runtime for CUDA
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
CUDA C++ developers can now use modern, type-safe C++ APIs for streams, memory and kernel launches in CUDA 13.2 instead of the legacy C runtime.
NVIDIA has added a new programming toolkit called the CCCL runtime, available starting with CUDA 13.2. It gives software developers a modern C++ way of working with GPUs, the chips that power AI and graphics, replacing older, error-prone rules with safeguards that catch mistakes before the program runs. It matters to the programmers who build GPU-accelerated applications; ordinary users will simply see fewer bugs and, eventually, better software.
NVIDIA is modernising how GPU software is written: the CCCL runtime, shipped in CUDA Toolkit 13.2, replaces the two-decade-old C-style CUDA runtime with type-checked C++ APIs. For engineering leaders, the pitch is fewer hard-to-diagnose memory bugs and less boilerplate error handling, with incremental adoption possible alongside existing CUDA code. There is no migration deadline, the old runtime still works, so the cost is developer retraining rather than a forced rewrite.
Available in CUDA 13.2, CCCL runtime is a header-only C++ layer replacing the legacy CUDA runtime API. Devices and streams use strong types (cuda::device_ref, cuda::stream) with owning/_ref pairs, eliminating implicit global state and the default stream; streams take an explicit device in the constructor. Memory allocation is stream-ordered via memory pools by default, with cuda::make_buffer requiring initialisation unless cuda::no_init is passed. cuda::launch embeds block size as a template parameter for compile-time thread-rank calculations, uses exceptions instead of error codes, and cudaStream_t converts implicitly to cuda::stream_ref for interop with existing code.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
CUDA CCCL runtime CUDA 13.2 cuda::stream cuda::make_buffer cuda::launch NVIDIA Nemotron
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.