Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

CUDA CCCL Python Package

cuda.cccl provides a Pythonic interface to the CUDA Core Compute Libraries. It provides the following modules:

  • cuda.compute - Device-level parallel algorithms (reduce, scan, sort, etc.) and iterators
  • cuda.coop._experimental - Block and warp-level cooperative primitives for custom CUDA kernels

Installation

Install from PyPI:

pip install cuda-cccl[cu13]  # For CUDA 13.x (pip-installed cuda-toolkit)
pip install cuda-cccl[cu12]  # For CUDA 12.x (pip-installed cuda-toolkit)

If you already have a CUDA toolkit on your system and do not want pip to install it, use the sysctk variants:

pip install cuda-cccl[sysctk13]  # For CUDA 13.x (system CUDA toolkit)
pip install cuda-cccl[sysctk12]  # For CUDA 12.x (system CUDA toolkit)

For a minimal install without Numba (useful when supplying pre-compiled operators):

pip install cuda-cccl[minimal-cu13]      # pip-installed cuda-toolkit
pip install cuda-cccl[minimal-sysctk13]  # system CUDA toolkit

Install from conda-forge:

conda install -c conda-forge cccl-python

Requirements: Python 3.10+, CUDA Toolkit 12.x or 13.x, NVIDIA GPU with Compute Capability 6.0+

Documentation

For complete documentation, examples, and API reference, visit: