Skip to content

Commit 0e2af09

Browse files
rwgkmdboom
authored andcommitted
Document NVLink API lifecycle changes
1. Review finding: the 1.1.0 release notes did not mention the new Device.get_nvlink_count and Device.get_nvlinks APIs, the changed Device.get_nvlink validation behavior, or the NvlinkInfo.max_links deprecation.\n\n2. Suggested fix implemented in this commit: add release-note entries for device-specific NVLink enumeration, the stricter get_nvlink ValueError behavior, and the deprecated NvlinkInfo.max_links replacement path.
1 parent 93c3a77 commit 0e2af09

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

cuda_core/docs/source/release/1.1.0-notes.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ New features
4444
:attr:`~ManagedBuffer.accessed_by`). Locations are expressed via
4545
:class:`Device` or :class:`Host`.
4646

47+
- Added :meth:`system.Device.get_nvlink_count` and
48+
:meth:`system.Device.get_nvlinks` for device-specific NVLink enumeration.
49+
These APIs avoid relying on the static NVML ``NVML_NVLINK_MAX_LINKS`` macro
50+
when querying the links available on a particular device.
51+
4752
Bug fixes
4853
---------
4954

@@ -52,3 +57,12 @@ Bug fixes
5257
- Calling ``cuda.core.system.get_process_name`` before querying any device's
5358
``compute_running_processes`` would raise a ``NvmlNotFoundError``. Now it will
5459
correctly return the process name, if it is a GPU-using process.
60+
- :meth:`system.Device.get_nvlink` now validates link numbers against the
61+
device-specific NVLink count and raises ``ValueError`` for unsupported links.
62+
63+
Deprecated APIs
64+
---------------
65+
66+
- Deprecated :attr:`system.NvlinkInfo.max_links`. Use
67+
:meth:`system.Device.get_nvlink_count` or :meth:`system.Device.get_nvlinks`
68+
to query NVLink availability for a specific device.

0 commit comments

Comments
 (0)