
cccl
CUDA Core Compute Libraries
The Lens
By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.
Updated Sep 2026
cccl is NVIDIA's official bundle of the three core C++ libraries for CUDA: Thrust, CUB, and libcudacxx. In plain terms, if you write code that runs on an NVIDIA GPU, these are the building blocks (sort, reduce, scan, plus a standard library that works on the device) so you do not hand-roll GPU kernels from scratch. It is Apache-2.0 and ships with the CUDA Toolkit.
Thrust is the high-level layer: parallel algorithms with an interface close to the C++ standard library, portable across GPU and multicore CPU backends. CUB is the low-level, speed-of-light layer for people writing custom kernels. libcudacxx is the CUDA C++ standard library. Most CUDA developers already use these without thinking about it.
There is nothing to decide here. If you write CUDA C++, you use CCCL. It is maintained by NVIDIA, unified into one repo, and free. The only catch is the obvious one: it is CUDA, so it is NVIDIA hardware only. If you need to run on AMD or Apple Silicon, this is the wrong stack and you are looking at SYCL, ROCm, or Metal instead.
Free vs Self-Hosted vs Paid
fully freeFree: CCCL (Thrust, CUB, libcudacxx) is Apache-2.0 and open source. It also ships bundled with the CUDA Toolkit at no cost.
Self-hosted: It is a set of header libraries you build against with a CUDA-capable compiler. No server, no service.
Paid: None. The libraries are free; the only cost is NVIDIA GPU hardware to run the code.
Completely free and open source, and it ships with the CUDA Toolkit.
What to do by team size
- Solo
- free
- Small team
- free
- Medium team
- free
- Large team
- free
Get tools like this every Wednesday
One featured tool, three on the radar. No fluff.
A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores
Trust Signals
License: Apache License 2.0
Apache-2.0 with LLVM exception on libcudacxx; GitHub SPDX misdetected as Other.
Commercial use: ✓ Yes
About
- Owner
- NVIDIA Corporation (Organization)
- Stars
- 2,504
- Forks
- 480