diff --git a/lite/core/program.cc b/lite/core/program.cc index 014cfb1d2417b37fd2f4ce1fd81d4c3ddc205dc0..b60f279c0fc74904477a080579a799f601e359b0 100644 --- a/lite/core/program.cc +++ b/lite/core/program.cc @@ -196,11 +196,14 @@ void Instruction::Run() { if (op_->run_once() && has_run_) { return; } - +#ifndef LITE_SHUTDOWN_LOG VLOG(4) << "kernel launch"; +#endif op_->InferShape(); +#ifndef LITE_SHUTDOWN_LOG VLOG(4) << ">> Running kernel: " << op_->op_info()->Repr() << " on Target " << TargetToStr(kernel_->target()); +#endif kernel_->Launch(); has_run_ = true; }