comaniac commented on a change in pull request #8618:
URL: https://github.com/apache/tvm/pull/8618#discussion_r681459819



##########
File path: python/tvm/topi/cuda/reduction.py
##########
@@ -114,6 +114,7 @@ def schedule_reduce(outs):
     outs = [outs] if isinstance(outs, te.tensor.Tensor) else outs
     sch = te.create_schedule([x.op for x in outs])
     scheduled_ops = []
+    enable_auto_inline = tvm.te.schedule.EnableAutoInline(sch)

Review comment:
       Ah yeah. I missed that would be evaluated only once instead of per 
stage. It should be fine then.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to