tqchen edited a comment on issue #6596:
URL: https://github.com/apache/incubator-tvm/issues/6596#issuecomment-702190225


   I see, looking into the case. Both this example and #5130 seems to appear 
when the iteration is dependent on an outer loop. And we will need to find a 
detector to insert the condition properly when generating the loops. 
   
   The current compute bound insertion assumes the loop bounds to be not 
iterator dependent.  It might also be useful to think about what can be done 
and (cannot be done) in iterator dependent loops. As the original assumption of 
compute means the axis should be independent from each other for certain 
scheduling correctness to hold. In this case, a dependent reduction bound would 
certainly bring different implications, and possible different analysis for the 
scheduling to hold
   
   A contribution would be more than welcomed.


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

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


Reply via email to