Skip to content

Commit

Permalink
More lint fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunderberg committed Feb 16, 2022
1 parent 4eb4361 commit bd4bfc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/tvm/contrib/nvcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def find_libdevice_path(arch):
selected_ver = 0
selected_path = None
cuda_ver = get_cuda_version(cuda_path)
if cuda_ver in ((9,0), (9,1), (10,0), (10,1), (10,2), (11,0), (11,1), (11,2), (11,3)):
if cuda_ver in ((9, 0), (9, 1), (10, 0), (10, 1), (10, 2), (11, 0), (11, 1), (11, 2), (11, 3)):
path = os.path.join(lib_path, "libdevice.10.bc")
else:
for fn in os.listdir(lib_path):
Expand Down Expand Up @@ -364,7 +364,7 @@ def have_cudagraph():
"""Either CUDA Graph support is provided"""
try:
cuda_ver = get_cuda_version()
if cuda_ver < (10,0):
if cuda_ver < (10, 0):
return False
return True
except RuntimeError:
Expand Down

0 comments on commit bd4bfc8

Please sign in to comment.