tqchen commented on a change in pull request #5465:
URL: https://github.com/apache/incubator-tvm/pull/5465#discussion_r422721228
##########
File path: src/tir/transforms/thread_storage_sync.cc
##########
@@ -95,8 +95,6 @@ class ThreadSyncPlanner : public StorageAccessVisitor {
}
}
if (sync_before_stmt) {
- CHECK_EQ(condition_counter(), 0)
- << "Cannot insert syncs inside condition";
Review comment:
This check is necessary for GPUs
----------------------------------------------------------------
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]