Skip to content

Commit

Permalink
get valid count test working
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Dec 25, 2020
1 parent eb142d3 commit cf0d4fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion python/tvm/topi/cuda/nms.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

from tvm.tir import if_then_else
from .sort import argsort, argsort_thrust
from .prefix_scan import exclusive_scan
from .scan import exclusive_scan
from ..utils import ceil_div


Expand Down
3 changes: 1 addition & 2 deletions python/tvm/topi/cuda/scan.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,8 @@ def exclusive_scan(data, axis=-1, return_reduction=False):
[data.shape, (data.shape[0],)],
[data],
lambda ins, outs: exclusive_sum_scan2d_ir(ins[0], outs[0], outs[1]),
dtype=[data.dtype],
dtype=[data.dtype, data.dtype],
in_buffers=[data_buf],
out_buffers=[output_buf],
name="exclusive_scan",
tag="exclusive_scan_gpu",
)
Expand Down

0 comments on commit cf0d4fd

Please sign in to comment.