File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1717 get_minimal_required_cuda_ver_from_ptx_ver ,
1818 get_ptx_ver ,
1919)
20- from cuda .bindings .utils import get_cuda_native_handle , get_minimal_required_cuda_ver_from_ptx_ver , get_ptx_ver
2120
2221have_cufile = importlib .util .find_spec ("cuda.bindings.cufile" ) is not None
2322
23+
2424def _is_libnvvm_available () -> bool :
2525 try :
2626 from cuda .bindings ._internal .nvvm import _inspect_function_pointer
@@ -137,6 +137,7 @@ def test_get_c_compiler():
137137 prefix = ("GCC" , "Clang" , "MSVC" , "Unknown" )
138138 assert sum (c_compiler .startswith (p ) for p in prefix ) == 1
139139
140+
140141@_skip_no_libnvvm
141142def test_check_nvvm_compiler_options_valid ():
142143 assert check_nvvm_compiler_options (["-arch=compute_90" ]) is True
You can’t perform that action at this time.
0 commit comments