We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e99722 commit 76aa826Copy full SHA for 76aa826
1 file changed
cuda_bindings/cuda/bindings/_internal/nvjitlink_linux.pyx
@@ -8,6 +8,8 @@ import os
8
9
from libc.stdint cimport intptr_t
10
11
+from .utils cimport get_nvjitlink_dso_version_suffix
12
+
13
from .utils import FunctionNotFoundError, NotSupportedError
14
15
from cuda.bindings import path_finder
@@ -55,6 +57,10 @@ cdef void* __nvJitLinkVersion = NULL
55
57
56
58
59
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
64
so_basename = "libnvJitLink.so"
65
cdef void* handle = NULL;
66
paths = path_finder.get_cuda_paths()
0 commit comments