Skip to content

Commit

Permalink
[BUGFIX] Add cuda 11 to contrib.nvcc.find_libdevice_path() (apache#5902)
Browse files Browse the repository at this point in the history
  • Loading branch information
ymwangg authored and zhiics committed Jul 2, 2020
1 parent fcf74a5 commit 4eb0783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/contrib/nvcc.py
Expand Up @@ -173,7 +173,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):
if cuda_ver in (9.0, 9.1, 10.0, 11.0):
path = os.path.join(lib_path, "libdevice.10.bc")
else:
for fn in os.listdir(lib_path):
Expand Down

0 comments on commit 4eb0783

Please sign in to comment.