MasterJH5574 opened a new pull request #9359:
URL: https://github.com/apache/tvm/pull/9359


   This PR fixes a bug in TIR schedule primitive `Bind`. The fix provides a 
regression unit test.
   
   ---
   
   The bug will be triggered when binding a loop to a thread axis _where the 
block below the loop has a `init()` that contains a block_. 
   * Originally the implementation of `Bind` will try to acquire the `StmtSRef` 
of the inside-init block, but since such blocks _have no corresponding 
`StmtSRef`_, the try for acquisition leads to runtime error.
   * After this fix, the implementation directly returns when encountering a 
block that has no corresponding `StmtSRef`.
   
   ---
   
   cc @junrushao1994 


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