Skip to content

Commit

Permalink
[TOPI] Rewrite GPU argwhere using exclusive scan (#7314)
Browse files Browse the repository at this point in the history
* use ex scan to write argwhere

* add doc
  • Loading branch information
masahi authored Jan 21, 2021
1 parent e8ab607 commit f829403
Show file tree
Hide file tree
Showing 2 changed files with 98 additions and 428 deletions.
2 changes: 1 addition & 1 deletion python/tvm/contrib/nvcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,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):
if cuda_ver in (9.0, 9.1, 10.0, 10.1, 10.2, 11.0, 11.1, 11.2):
path = os.path.join(lib_path, "libdevice.10.bc")
else:
for fn in os.listdir(lib_path):
Expand Down
Loading

0 comments on commit f829403

Please sign in to comment.