We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8c03c4 commit 38238bcCopy full SHA for 38238bc
numba_cuda/numba/cuda/tests/cudadrv/test_nvjitlink.py
@@ -8,6 +8,13 @@
8
from numba import config
9
from numba.tests.support import run_in_subprocess, override_config
10
11
+try:
12
+ import pynvjitlink # noqa: F401
13
+ PYNVJITLINK_INSTALLED = True
14
+except ImportError:
15
+ PYNVJITLINK_INSTALLED = False
16
+
17
18
import itertools
19
import os
20
import io
@@ -253,6 +260,7 @@ def kernel():
253
260
pass
254
261
255
262
263
+@unittest.skipIf(not PYNVJITLINK_INSTALLED)
256
264
class TestLinkerUsage(CUDATestCase):
257
265
"""Test that whether pynvjitlink can be enabled by both environment variable
258
266
and modification of config at runtime.
0 commit comments