Skip to content

Commit

Permalink
[misc] Deleted 3 debug messages in codegen_cc.cpp (#2158)
Browse files Browse the repository at this point in the history
Co-authored-by: Leon Zhang <jzhang867@wisc.edu>
  • Loading branch information
Leonz5288 and Leon Zhang authored Jan 15, 2021
1 parent af8cd34 commit 6c4f0d8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions taichi/backends/cc/codegen_cc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,9 +583,6 @@ class CCTransformer : public IRVisitor {
auto var = define_var(dt_name + " *", adjoint_name);
emit("{} = ({} *)Ti_ad_stack_top_adjoint({}, {});", var, dt_name,
stack->raw_name(), stack->element_size_in_bytes());
emit("printf(\"%d\\n\", *Ti_ad_stack_n({}));", stack->raw_name());
emit("printf(\"%p\\n\", {});", stack->raw_name());
emit("printf(\"%p\\n\", {});", adjoint_name);
emit("*{} += {};", adjoint_name, stmt->v->raw_name());
}

Expand Down

0 comments on commit 6c4f0d8

Please sign in to comment.