Skip to content

Commit

Permalink
Cleanup old comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcourteaux committed Nov 3, 2023
1 parent 7d50b71 commit 0136c0a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Profiling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,6 @@ class InjectProfiling : public IRMutator {
Stmt visit(const LetStmt *op) override {
if (const Call *call = op->value.as<Call>()) {
Stmt start_profiler;
// Lazily create the func-ids here, to avoid cluttering the profile log
// with these two functions when they are not even present in the pipeline.

if (call->name == "halide_copy_to_host" || call->name == "halide_copy_to_device") {
std::string buffer_name;
if (const Variable *var = call->args.front().as<Variable>()) {
Expand Down

0 comments on commit 0136c0a

Please sign in to comment.