Skip to content

Commit 48feeff

Browse files
author
cuda-python-bot
committed
Deploy doc preview for PR 1858 (22a3724)
1 parent e9d7605 commit 48feeff

File tree

152 files changed

+1070
-1048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

152 files changed

+1070
-1048
lines changed
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: 723c5a5473fcf9e0b3e89744b0aa9d17
3+
config: e35c9c64a2e4701aad17fe410e5f0318
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

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

Lines changed: 40 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ be considered stable and will follow semantic versioning with appropriate
1313
deprecation periods for breaking changes.
1414

1515

16-
CUDA runtime
17-
------------
16+
Devices and execution
17+
---------------------
1818

1919
.. autosummary::
2020
:toctree: generated/
@@ -24,26 +24,14 @@ CUDA runtime
2424

2525
:template: autosummary/cyclass.rst
2626

27-
Buffer
2827
Stream
2928
Event
30-
MemoryResource
31-
DeviceMemoryResource
32-
GraphMemoryResource
33-
PinnedMemoryResource
34-
ManagedMemoryResource
35-
LegacyPinnedMemoryResource
36-
VirtualMemoryResource
3729

3830
:template: dataclass.rst
3931

40-
DeviceMemoryResourceOptions
41-
PinnedMemoryResourceOptions
42-
ManagedMemoryResourceOptions
43-
EventOptions
4432
StreamOptions
33+
EventOptions
4534
LaunchConfig
46-
VirtualMemoryResourceOptions
4735

4836
.. data:: LEGACY_DEFAULT_STREAM
4937

@@ -58,9 +46,42 @@ CUDA runtime
5846
on other non-blocking streams.
5947

6048

49+
Memory management
50+
-----------------
51+
52+
.. autosummary::
53+
:toctree: generated/
54+
55+
:template: autosummary/cyclass.rst
56+
57+
Buffer
58+
MemoryResource
59+
DeviceMemoryResource
60+
GraphMemoryResource
61+
PinnedMemoryResource
62+
ManagedMemoryResource
63+
LegacyPinnedMemoryResource
64+
VirtualMemoryResource
65+
66+
:template: dataclass.rst
67+
68+
DeviceMemoryResourceOptions
69+
PinnedMemoryResourceOptions
70+
ManagedMemoryResourceOptions
71+
VirtualMemoryResourceOptions
72+
73+
6174
CUDA graphs
6275
-----------
6376

77+
A CUDA graph captures a set of GPU operations and their dependencies,
78+
allowing them to be defined once and launched repeatedly with minimal
79+
CPU overhead. Graphs can be constructed in two ways:
80+
:class:`~graph.GraphBuilder` captures operations from a stream, while
81+
:class:`~graph.GraphDef` builds a graph explicitly by adding nodes and
82+
edges. Both produce an executable :class:`~graph.Graph` that can be
83+
launched on a :class:`Stream`.
84+
6485
.. autosummary::
6586
:toctree: generated/
6687

@@ -82,6 +103,10 @@ CUDA graphs
82103
Node types
83104
``````````
84105

106+
Every graph node is a subclass of :class:`~graph.GraphNode`, which
107+
provides the common interface (dependencies, successors, destruction).
108+
Each subclass exposes attributes unique to its operation type.
109+
85110
.. autosummary::
86111
:toctree: generated/
87112

docs/pr-preview/pr-1858/cuda-core/latest/_sources/release/0.7.x-notes.rst.txt

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,23 +10,14 @@
1010
Highlights
1111
----------
1212

13-
- Introduced :class:`~graph.GraphDef`, an explicit graph construction API. Graphs
14-
can now be built node-by-node (kernel launches, memset, memcpy, memory
15-
allocation/free, child graphs, event record/wait, host callbacks, and
16-
conditionals) with full control over topology. Nodes expose mutable
17-
:attr:`~graph.GraphNode.pred` and :attr:`~graph.GraphNode.succ` adjacency sets
18-
for edge manipulation, and individual nodes can be destroyed with
19-
:meth:`~graph.GraphNode.destroy`. A ``GraphDef`` can be instantiated into an
20-
executable :class:`Graph` or used to update an existing one in place.
13+
- Introduced support for explicit graph construction. CUDA graphs can now be
14+
built programmatically by adding nodes and edges, and their topology can be
15+
modified after construction.
2116

2217

2318
Breaking Changes
2419
----------------
2520

26-
- The internal ``cuda.core._graph`` package has been renamed to the public
27-
:mod:`cuda.core.graph`. Code that imported from ``cuda.core._graph`` must
28-
update its import paths.
29-
3021
- Building ``cuda.core`` from source now requires ``cuda-bindings`` >= 12.9.0, due to Cython-level
3122
dependencies on the NVVM and nvJitLink bindings (``cynvvm``, ``cynvjitlink``). Pre-built wheels
3223
are unaffected. The previous minimum was 12.8.0.
@@ -35,13 +26,10 @@ Breaking Changes
3526
New features
3627
------------
3728

38-
- Added the :mod:`cuda.core.graph` public module containing :class:`~graph.GraphDef`,
39-
:class:`~graph.GraphNode`, :class:`~graph.Condition`, :class:`~graph.GraphAllocOptions`,
40-
and typed node subclasses (:class:`~graph.KernelNode`, :class:`~graph.MemsetNode`,
41-
:class:`~graph.MemcpyNode`, :class:`~graph.AllocNode`, :class:`~graph.FreeNode`,
42-
:class:`~graph.EmptyNode`, :class:`~graph.ChildGraphNode`,
43-
:class:`~graph.EventRecordNode`, :class:`~graph.EventWaitNode`,
44-
:class:`~graph.HostCallbackNode`, and conditional node types).
29+
- Added the :mod:`cuda.core.graph` public module containing
30+
:class:`~graph.GraphDef` for explicit graph construction, typed node
31+
subclasses, and supporting types. :class:`~graph.GraphBuilder` (stream
32+
capture) also moves into this module.
4533

4634
- Added ``preferred_location_type`` option to :class:`ManagedMemoryResourceOptions`
4735
for explicit control over the preferred location kind (``"device"``,

docs/pr-preview/pr-1858/cuda-core/latest/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '0.6.1.dev140',
2+
VERSION: '0.6.1.dev141',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

0 commit comments

Comments
 (0)