File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
numba_cuda/numba/cuda/tests/cudadrv Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,16 @@ def test_cuda_detect(self):
2525 self .assertIn ("CUDA devices" , output )
2626
2727
28+ class TestSupportedVersion (CUDATestCase ):
29+ def test_is_supported_version (self ):
30+ # Exercise the `cuda.is_supported_version()` API.
31+ #
32+ # Assume for the purpose of the test that we're running on a supported
33+ # toolkit version; if not, there's not much point in running the test
34+ # suite.
35+ self .assertTrue (cuda .is_supported_version ())
36+
37+
2838@skip_under_cuda_memcheck ("Hangs cuda-memcheck" )
2939class TestCUDAFindLibs (CUDATestCase ):
3040 def run_cmd (self , cmdline , env ):
Original file line number Diff line number Diff line change @@ -43,16 +43,6 @@ def test_visible_devices_set_after_import(self):
4343 visible_gpu_count = future .result ()
4444 assert visible_gpu_count == 1
4545
46- def test_is_supported_version (self ):
47- # Exercise the `cuda.is_supported_version()` API.
48- #
49- # Assume for the purpose of the test that we're running on a supported
50- # toolkit version; if not, there's not much point in running the test
51- # suite.
52- from numba import cuda
53-
54- self .assertTrue (cuda .is_supported_version ())
55-
5646
5747if __name__ == "__main__" :
5848 unittest .main ()
You can’t perform that action at this time.
0 commit comments