We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fc754b commit bceb881Copy full SHA for bceb881
2 files changed
cuda_core/cuda/core/system/_device.pyx
@@ -708,7 +708,7 @@ cdef class Device:
708
# NVLINK
709
# See external class definitions in _nvlink.pxi
710
711
- def nvlink(self, link: int) -> NvlinkInfo:
+ def get_nvlink(self, link: int) -> NvlinkInfo:
712
"""
713
Get :obj:`~NvlinkInfo` about this device.
714
cuda_core/tests/system/test_system_device.py
@@ -739,7 +739,7 @@ def test_nvlink():
739
740
for link in range(max_links):
741
with unsupported_before(device, None):
742
- nvlink_info = device.nvlink(link)
+ nvlink_info = device.get_nvlink(link)
743
assert isinstance(nvlink_info, _device.NvlinkInfo)
744
745
0 commit comments