Skip to content

Commit 76aa826

Browse files
committed
Add back get_nvjitlink_dso_version_suffix() call.
1 parent 4e99722 commit 76aa826

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

cuda_bindings/cuda/bindings/_internal/nvjitlink_linux.pyx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import os
88

99
from libc.stdint cimport intptr_t
1010

11+
from .utils cimport get_nvjitlink_dso_version_suffix
12+
1113
from .utils import FunctionNotFoundError, NotSupportedError
1214

1315
from cuda.bindings import path_finder
@@ -55,6 +57,10 @@ cdef void* __nvJitLinkVersion = NULL
5557

5658

5759
cdef void* load_library(const int driver_ver) except* with gil:
60+
# TODO(rwgk): Move the version check here.
61+
# Intentionally ignoring returned value:
62+
get_nvjitlink_dso_version_suffix(driver_ver)
63+
5864
so_basename = "libnvJitLink.so"
5965
cdef void* handle = NULL;
6066
paths = path_finder.get_cuda_paths()

0 commit comments

Comments
 (0)