Skip to content

Commit 3e3a099

Browse files
authored
Update scan.py to fix pascal error.
1 parent 956b659 commit 3e3a099

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/tvm/topi/gpu/scan.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ def _can_use_scan_thrust(binop):
4040
target = tvm.target.Target.current()
4141
if target is None:
4242
return False
43+
if target.arch == "sm_60":
44+
return False
4345
return binop == tvm.tir.generic.add and any(
4446
[
4547
can_use_thrust(target, "tvm.contrib.thrust.sum_scan"),

0 commit comments

Comments
 (0)