Skip to content

Commit bceb881

Browse files
committed
nvlink -> get_nvlink
1 parent 4fc754b commit bceb881

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cuda_core/cuda/core/system/_device.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ cdef class Device:
708708
# NVLINK
709709
# See external class definitions in _nvlink.pxi
710710
711-
def nvlink(self, link: int) -> NvlinkInfo:
711+
def get_nvlink(self, link: int) -> NvlinkInfo:
712712
"""
713713
Get :obj:`~NvlinkInfo` about this device.
714714

cuda_core/tests/system/test_system_device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ def test_nvlink():
739739

740740
for link in range(max_links):
741741
with unsupported_before(device, None):
742-
nvlink_info = device.nvlink(link)
742+
nvlink_info = device.get_nvlink(link)
743743
assert isinstance(nvlink_info, _device.NvlinkInfo)
744744

745745
with unsupported_before(device, None):

0 commit comments

Comments
 (0)