Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ CUDA Python is the home for accessing NVIDIA’s CUDA platform from Python. It c
* [cuda.core](https://nvidia.github.io/cuda-python/cuda-core/latest): Pythonic access to CUDA Runtime and other core functionality
* [cuda.bindings](https://nvidia.github.io/cuda-python/cuda-bindings/latest): Low-level Python bindings to CUDA C APIs
* [cuda.pathfinder](https://nvidia.github.io/cuda-python/cuda-pathfinder/latest): Utilities for locating CUDA components installed in the user's Python environment
* [cuda.coop](https://nvidia.github.io/cccl/python/coop): A Python module providing CCCL's reusable block-wide and warp-wide *device* primitives for use within Numba CUDA kernels
* [cuda.compute](https://nvidia.github.io/cccl/python/compute): A Python module for easy access to CCCL's highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. that are callable on the *host*
* [cuda.coop](https://nvidia.github.io/cccl/unstable/python/coop.html): A Python module providing CCCL's reusable block-wide and warp-wide *device* primitives for use within Numba CUDA kernels
* [cuda.compute](https://nvidia.github.io/cccl/unstable/python/compute/index.html): A Python module for easy access to CCCL's highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. that are callable on the *host*
* [numba.cuda](https://nvidia.github.io/numba-cuda/): A Python DSL that exposes CUDA **SIMT** programming model and compiles a restricted subset of Python code into CUDA kernels and device functions
* [cuda.tile](https://docs.nvidia.com/cuda/cutile-python/): A new Python DSL that exposes CUDA **Tile** programming model and allows users to write NumPy-like code in CUDA kernels
* [nvmath-python](https://docs.nvidia.com/cuda/nvmath-python/latest): Pythonic access to NVIDIA CPU & GPU Math Libraries, with [*host*](https://docs.nvidia.com/cuda/nvmath-python/latest/overview.html#host-apis), [*device*](https://docs.nvidia.com/cuda/nvmath-python/latest/overview.html#device-apis), and [*distributed*](https://docs.nvidia.com/cuda/nvmath-python/latest/distributed-apis/index.html) APIs. It also provides low-level Python bindings to host C APIs ([nvmath.bindings](https://docs.nvidia.com/cuda/nvmath-python/latest/bindings/index.html)).
Expand Down Expand Up @@ -44,4 +44,6 @@ The list of available interfaces is:
* NVRTC
* nvJitLink
* NVVM
* nvFatbin
* cuFile
* NVML
3 changes: 0 additions & 3 deletions cuda_core/cuda/core/experimental/__init__.pxd

This file was deleted.

69 changes: 0 additions & 69 deletions cuda_core/cuda/core/experimental/__init__.py

This file was deleted.

2 changes: 1 addition & 1 deletion cuda_core/cuda/core/utils/_program_cache/_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def make_program_cache_key(
Returns
-------
bytes
A 32-byte blake2b digest suitable for use as a cache key.
An opaque bytes digest suitable for use as a cache key.
Raises
------
Expand Down
4 changes: 4 additions & 0 deletions cuda_core/docs/nv-versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "latest",
"url": "https://nvidia.github.io/cuda-python/cuda-core/latest/"
},
{
"version": "1.0.0",
"url": "https://nvidia.github.io/cuda-python/cuda-core/1.0.0/"
},
{
"version": "0.7.0",
"url": "https://nvidia.github.io/cuda-python/cuda-core/0.7.0/"
Expand Down
49 changes: 4 additions & 45 deletions cuda_core/docs/source/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
``cuda.core`` API Reference
===========================

This is the main API reference for ``cuda.core``. The package has not yet
reached version 1.0.0, and APIs may change between minor versions, possibly
without deprecation warnings. Once version 1.0.0 is released, APIs will
be considered stable and will follow semantic versioning with appropriate
deprecation periods for breaking changes.
This is the main API reference for ``cuda.core``. As of version 1.0.0, all
APIs are considered stable and follow `Semantic Versioning <https://semver.org/>`_
with appropriate deprecation periods for breaking changes. See the
:doc:`support policy <support>` for details.


Devices and execution
Expand Down Expand Up @@ -261,46 +260,6 @@ execution.
checkpoint.Process


CUDA system information and NVIDIA Management Library (NVML)
------------------------------------------------------------

.. note::
``cuda.core.system`` support requires ``cuda_bindings`` 12.9.6 or later, or 13.2.0 or later.

Basic functions
```````````````

.. autosummary::
:toctree: generated/

system.get_user_mode_driver_version
system.get_kernel_mode_driver_version
system.get_driver_branch
system.get_num_devices
system.get_nvml_version
system.get_process_name
system.get_topology_common_ancestor
system.get_p2p_status

Events
``````

.. autosummary::
:toctree: generated/

system.register_events

Types
`````

.. autosummary::
:toctree: generated/

:template: autosummary/cyclass.rst

system.Device
system.NvlinkInfo

Utility functions
-----------------

Expand Down
44 changes: 44 additions & 0 deletions cuda_core/docs/source/api_nvml.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.. SPDX-FileCopyrightText: Copyright (c) 2024-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
.. SPDX-License-Identifier: Apache-2.0

.. module:: cuda.core.system

CUDA system information and NVIDIA Management Library (NVML)
============================================================

.. note::
``cuda.core.system`` support requires ``cuda_bindings`` 12.9.6 or later, or 13.2.0 or later.

Basic functions
---------------

.. autosummary::
:toctree: generated/

get_user_mode_driver_version
get_kernel_mode_driver_version
get_driver_branch
get_num_devices
get_nvml_version
get_process_name
get_topology_common_ancestor
get_p2p_status

Events
------

.. autosummary::
:toctree: generated/

register_events

Types
-----

.. autosummary::
:toctree: generated/

:template: autosummary/cyclass.rst

Device
NvlinkInfo
2 changes: 2 additions & 0 deletions cuda_core/docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,14 @@ Welcome to the documentation for ``cuda.core``.
install
interoperability
api
api_nvml
environment_variables
contribute

.. toctree::
:maxdepth: 1

support
conduct
license

Expand Down
2 changes: 1 addition & 1 deletion cuda_core/docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies are as follows:
Free-threading Build Support
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

As of cuda-core 0.4.0, **experimental** packages for the `free-threaded interpreter`_ are shipped.
Starting ``cuda-core`` 0.4.0, **experimental** packages for the `free-threaded interpreter`_ are shipped.

1. Support for these builds is best effort, due to heavy use of `built-in
modules that are known to be thread-unsafe`_, such as ``ctypes``.
Expand Down
Loading