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



##########
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:
       So I made it not too aggressive. By the way, **EnableAutoInline** only 
returns true when all no-output stages are unscheduled and their reduce_axis 
have zero size.




-- 
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