Discover and explore top open-source AI tools and projects—updated daily.
NVIDIACUDA C++ building blocks for high-performance GPU computing
Top 19.5% on SourcePulse
CUDA Core Compute Libraries (CCCL) unifies essential CUDA C++ libraries—Thrust, CUB, and libcudacxx—into a single, header-only repository. It targets CUDA C++ developers seeking to simplify the creation of safe, efficient, and high-performance GPU code, offering a streamlined development process and broader leverage of CUDA capabilities.
How It Works
CCCL integrates Thrust's high-level parallel algorithms, CUB's low-level CUDA-specific primitives, and libcudacxx's CUDA C++ Standard Library implementation. This unification provides developers with a cohesive set of building blocks, enhancing productivity and enabling performance portability across GPUs and CPUs via configurable backends. The approach leverages existing, well-regarded libraries into a single, managed entity.
Quick Start & Requirements
CCCL is header-only. Integration is straightforward:
nvcc.-I flags (e.g., nvcc -Icccl/thrust ... main.cu).conda install cccl or conda install cuda-cccl from conda-forge.cmake . && make install or cmake --preset install workflows are supported.Requirements: CUDA Toolkit, compatible host compiler (e.g., GCC >= 7.x on Linux), C++17/C++20. GPU architectures supported by the CUDA Toolkit. Links: Documentation, Live Demo (Godbolt), GitHub Repository.
Highlighted Details
Maintenance & Community
The project is maintained by NVIDIA. A Discord server is available for community interaction, and a Contributor Guide outlines how to contribute to development.
Licensing & Compatibility
The specific license is not detailed in the provided README excerpt. CCCL is generally compatible with all operating systems and host compilers supported by the CUDA Toolkit. It maintains backward compatibility with CUDA Toolkit versions but is not forward compatible.
Limitations & Caveats
ABI stability is not guaranteed for thrust:: and cub:: namespaces. While cuda:: namespace ABI changes are versioned, users should recompile binaries if ABI breaks occur. Only the latest CCCL version is supported; fixes are not backported. New features may require newer CUDA Toolkit versions.
23 hours ago
Inactive
ztxz16
gpu-mode
deepseek-ai
NVIDIA