We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a51cf0 commit 0120702Copy full SHA for 0120702
1 file changed
cuda_core/cuda/core/system/_device.pyx
@@ -896,7 +896,7 @@ cdef class Device:
896
For devices with NVLink support.
897
"""
898
if link < 0 or link >= self.get_nvlink_count():
899
- raise ValueError(f"Link index {link} is out of range [0, {self.get_num_nvlinks()})")
+ raise ValueError(f"Link index {link} is out of range [0, {self.get_nvlink_count()})")
900
return NvlinkInfo(self, link)
901
902
@versionadded(version="1.1.0")
0 commit comments