Skip to content

Commit 409a6cc

Browse files
author
cuda-python-bot
committed
Deploy doc preview for PR 1368 (b3c6c64)
1 parent 53d57d8 commit 409a6cc

94 files changed

Lines changed: 9026 additions & 217 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: cbe2a3702d9d469e2b7d8099fa4bf330
3+
config: 733e2f6aa7ff560246beb5b4c321bc8c
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/pr-preview/pr-1368/cuda-core/latest/_sources/api.rst.txt

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,25 @@ CUDA compilation toolchain
6464
LinkerOptions
6565

6666

67-
CUDA system information
68-
-----------------------
67+
CUDA system information and NVIDIA Management Library (NVML)
68+
------------------------------------------------------------
6969

70-
.. automethod:: cuda.core._system.System.get_driver_version
71-
.. automethod:: cuda.core._system.System.get_num_devices
70+
.. autosummary::
71+
:toctree: generated/
72+
73+
system.get_driver_version
74+
system.get_driver_version_full
75+
system.get_num_devices
76+
system.get_nvml_version
77+
system.get_process_name
78+
79+
:template: autosummary/cyclass.rst
80+
81+
system.Device
82+
system.DeviceArchitecture
83+
system.MemoryInfo
84+
system.BAR1MemoryInfo
85+
system.PciInfo
7286

7387

7488
.. module:: cuda.core.utils
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
.. SPDX-License-Identifier: Apache-2.0
3+
4+
cuda.core.system.BAR1MemoryInfo
5+
===============================
6+
7+
.. currentmodule:: cuda.core.system
8+
9+
.. autoclass:: BAR1MemoryInfo
10+
11+
12+
13+
14+
.. autoattribute:: free
15+
.. autoattribute:: reserved
16+
.. autoattribute:: total
17+
.. autoattribute:: used
18+
19+
20+
21+
22+
23+
.. rubric:: Methods
24+
25+
26+
.. automethod:: __init__
27+
28+
29+
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
.. SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
.. SPDX-License-Identifier: Apache-2.0
3+
4+
cuda.core.system.Device
5+
=======================
6+
7+
.. currentmodule:: cuda.core.system
8+
9+
.. autoclass:: Device
10+
11+
12+
13+
14+
.. autoattribute:: architecture
15+
.. autoattribute:: bar1_memory_info
16+
.. autoattribute:: cpu_affinity
17+
.. autoattribute:: cuda_compute_capability
18+
.. autoattribute:: handle
19+
.. autoattribute:: memory_info
20+
.. autoattribute:: name
21+
.. autoattribute:: pci_info
22+
.. autoattribute:: serial
23+
.. autoattribute:: uuid
24+
25+
26+
27+
28+
29+
.. rubric:: Methods
30+
31+
32+
.. automethod:: __init__
33+
.. automethod:: get_all_devices
34+
35+
36+
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
.. SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
.. SPDX-License-Identifier: Apache-2.0
3+
4+
cuda.core.system.DeviceArchitecture
5+
===================================
6+
7+
.. currentmodule:: cuda.core.system
8+
9+
.. autoclass:: DeviceArchitecture
10+
11+
12+
13+
14+
.. autoattribute:: id
15+
.. autoattribute:: name
16+
17+
18+
19+
20+
21+
.. rubric:: Methods
22+
23+
24+
.. automethod:: __init__
25+
26+
27+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
.. SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
.. SPDX-License-Identifier: Apache-2.0
3+
4+
cuda.core.system.MemoryInfo
5+
===========================
6+
7+
.. currentmodule:: cuda.core.system
8+
9+
.. autoclass:: MemoryInfo
10+
11+
12+
13+
14+
.. autoattribute:: free
15+
.. autoattribute:: reserved
16+
.. autoattribute:: total
17+
.. autoattribute:: used
18+
19+
20+
21+
22+
23+
.. rubric:: Methods
24+
25+
26+
.. automethod:: __init__
27+
28+
29+
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
.. SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
2+
.. SPDX-License-Identifier: Apache-2.0
3+
4+
cuda.core.system.PciInfo
5+
========================
6+
7+
.. currentmodule:: cuda.core.system
8+
9+
.. autoclass:: PciInfo
10+
11+
12+
13+
14+
.. autoattribute:: bus
15+
.. autoattribute:: bus_id
16+
.. autoattribute:: device
17+
.. autoattribute:: device_id
18+
.. autoattribute:: domain
19+
.. autoattribute:: vendor_id
20+
21+
22+
23+
24+
25+
.. rubric:: Methods
26+
27+
28+
.. automethod:: __init__
29+
30+
31+
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cuda.core.system.get\_driver\_version
2+
=====================================
3+
4+
.. currentmodule:: cuda.core.system
5+
6+
.. autofunction:: get_driver_version
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cuda.core.system.get\_driver\_version\_full
2+
===========================================
3+
4+
.. currentmodule:: cuda.core.system
5+
6+
.. autofunction:: get_driver_version_full
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
cuda.core.system.get\_num\_devices
2+
==================================
3+
4+
.. currentmodule:: cuda.core.system
5+
6+
.. autofunction:: get_num_devices

0 commit comments

Comments
 (0)