Skip to content

Commit

Permalink
add more folding testcases and fix store fp32 folding result to double
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongtest-intellif committed Aug 28, 2022
1 parent bcf0ac2 commit 74aaa1c
Show file tree
Hide file tree
Showing 2 changed files with 387 additions and 20 deletions.
5 changes: 5 additions & 0 deletions python/tvm/script/tir/intrin.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ def truncmod(x, y, span):
return tvm.tir.truncmod(x, y, span)


@register
def truncdiv(x, y, span):
return tvm.tir.truncdiv(x, y, span)


@register
def ceildiv(x, y, span):
return tvm.tir.ceildiv(x, y, span)
Expand Down
Loading

0 comments on commit 74aaa1c

Please sign in to comment.