Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Feb 13, 2022
1 parent cbfe979 commit 35f6bb1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/tvm/topi/x86/dense.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,18 +333,18 @@ def split_y(out):

if C == O:
fused = s[O].fuse(a_yo, a_xo)
s[O].parallel(fused)
else:
a_yo, a_yi = split_y(O)
a_xo, a_xi = s[O].split(O.op.axis[1], factor=16)

s[O].reorder(a_yo, a_xo, a_yi, a_xi)
fused = s[O].fuse(a_yo, a_xo)
s[O].vectorize(a_xi)
s[O].parallel(fused)

s[C].compute_at(s[O], a_yi)

fused = s[O].fuse(a_yo, a_xo)

s[O].parallel(fused)

return s


Expand Down

0 comments on commit 35f6bb1

Please sign in to comment.