Skip to content

Commit 5c5024c

Browse files
[pre-commit.ci] auto code formatting
1 parent 8239ee6 commit 5c5024c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cuda_bindings/tests/test_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
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

2221
have_cufile = importlib.util.find_spec("cuda.bindings.cufile") is not None
2322

23+
2424
def _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
141142
def test_check_nvvm_compiler_options_valid():
142143
assert check_nvvm_compiler_options(["-arch=compute_90"]) is True

0 commit comments

Comments
 (0)