The `nvidia-cuda-cccl-cu12` package provides the CUDA C++ Core Library (CCCL) headers and potentially compiled artifacts for CUDA Toolkit 12.x. CCCL is a collection of essential C++ utilities and primitives (like Thrust, CUB, libcudacxx) used for high-performance CUDA programming. This package is primarily a build and runtime dependency for other Python libraries that leverage specific CUDA Toolkit versions and C++ features, rather than offering direct Python APIs for end-user applications.
pip install nvidia-cuda-cccl-cu12Verified import paths — ran on the pinned version, not inferred.
The `nvidia-cuda-cccl-cu12` package does not offer direct Python APIs for application development. Its installation primarily provides the underlying C++ core libraries for other Python packages that build against or rely on CUDA Toolkit 12.x. Therefore, there is no functional Python code to 'use' this package directly. The example demonstrates that it's not designed for direct Python import and suggests how one might confirm its presence.
Ensure that the `nvidia-cuda-cccl-cuXX` version (e.g., `cu12`) precisely matches the CUDA Toolkit version used by other Python libraries (like PyTorch, TensorFlow) and your GPU driver. Mismatches can lead to runtime errors, segmentation faults, or unexpected behavior, as the C++ ABI can change between CUDA versions.
Do not expect to import symbols or call functions from `nvidia-cuda-cccl-cu12` in your Python code. Its purpose is to provide underlying C++ components during the build and runtime of other CUDA-dependent Python libraries. If you are looking for Python bindings to CUDA features, explore libraries like `pycuda`, `numba`, or deep learning frameworks such as PyTorch or TensorFlow.
This package is a component of the larger NVIDIA CUDA Toolkit. It is crucial to have a compatible NVIDIA GPU and a correctly installed CUDA Toolkit on your system. This PyPI package primarily facilitates access to the C++ core library components for Python environments, assuming the underlying CUDA infrastructure is present and compatible.
No dependency data recorded yet.