MasterJH5574 opened a new pull request #10016: URL: https://github.com/apache/tvm/pull/10016
This PR fixes a bug of the cross-thread reduction lowering in TIR. The bug will be triggered when there is only a single reduction loop and the block has a non-constant-true predicate. Previously we didn't take the predicate into consideration, and thus the cross-thread reduction might access out-of-bound data. To prevent this, we are supposed to do an in-thread reduction when there is an non-constant-true predicate. 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]
