Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions python/tvm/topi/gpu/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ def _can_use_scan_thrust(binop):
target = tvm.target.Target.current()
if target is None:
return False
# Excluding Pascal architecture, use fallback path code
if target.arch in ("sm_60", "sm_61"):
return False
# pylint: disable=comparison-with-callable
return binop == tvm.tir.generic.add and any(
[
Expand Down