.. module:: cuda.bindings
Released on Aug 6, 2025
- Support CUDA 13.0.
- A utility module :mod:`cuda.bindings.utils` is added
- Using
int(cuda_obj)to retrieve the underlying address of a CUDA object is deprecated and subject to future removal. Please switch to use :func:`~cuda.bindings.utils.get_cuda_native_handle` instead.
- Using
- The
cuda.bindings.cufilePython module was added, wrapping the cuFile C APIs. Supported on Linux only.- Currently using this module requires NumPy to be present. Any recent NumPy 1.x or 2.x should work.
- Python bindings in every module, including
driver,runtime, andnvrtc, now have the GIL released before calling the underlying C APIs.
- Fix a library loading bug that preferred shared libraries without a SOVERSION.
- All Python bindings now have the GIL released when calling into the underlying C APIs.
- Added PTX utilities including :func:`~utils.get_minimal_required_cuda_ver_from_ptx_ver` and :func:`~utils.get_ptx_ver`.
- Common CUDA objects such as :class:`~runtime.cudaStream_t` now compare equal if the underlying address is the same.
- Add a binding to
nvvmGetErrorString(). - Build the bindings with Cython profile hooks disabled.
- The internal pathfinder module is now isolated to a standalone package
cuda-pathfinderand made as a required dependency.
- Updating from older versions (v12.6.2.post1 and below) via
pip install -U cuda-pythonmight not work. Please do a clean re-installation by uninstallingpip uninstall -y cuda-pythonfollowed by installingpip install cuda-python.