Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
k-ye committed Jun 20, 2021
1 parent d4b719a commit 79415fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion taichi/backends/metal/kernel_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -982,10 +982,11 @@ class KernelManager::Impl {
create_new_command_buffer();
profiler_->stop();

print_runtime_debug();
}

void print_runtime_debug() {
// If debugging is necessary, make sure this is called after
// blit_buffers_and_sync().
const auto &sn_descs = compiled_structs_.snode_descriptors;
for (int i = 0; i < compiled_structs_.max_snodes; ++i) {
auto iter = sn_descs.find(i);
Expand Down

0 comments on commit 79415fd

Please sign in to comment.