Skip to content

Commit

Permalink
Remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
xumingkuan committed Nov 8, 2020
1 parent 480370b commit 59bdedc
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions taichi/program/async_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,6 @@ void AsyncEngine::synchronize() {
sfg->reid_pending_nodes();
TI_TRACE("Synchronizing SFG of {} nodes ({} pending)", sfg->size(),
sfg->num_pending_tasks());
std::cout << std::flush;
sfg->print();
for (auto i : sfg->get_pending_tasks()) {
irpass::print(i->rec.stmt());
}
std::cout << std::flush;
debug_sfg("initial");
if (program->config.debug) {
sfg->verify();
Expand Down Expand Up @@ -256,13 +250,6 @@ void AsyncEngine::synchronize() {
sfg->verify();
}
debug_sfg("final");
TI_TRACE("final");
std::cout << std::flush;
sfg->print();
for (auto i : sfg->get_pending_tasks()) {
irpass::print(i->rec.stmt());
}
std::cout << std::flush;
auto tasks = sfg->extract_to_execute();
TI_TRACE("Ended up with {} nodes", tasks.size());
for (auto &task : tasks) {
Expand Down

0 comments on commit 59bdedc

Please sign in to comment.