From de4d6348c869d6465efa8bba87a116cd17d5a857 Mon Sep 17 00:00:00 2001 From: Kathryn-cat Date: Thu, 16 Jun 2022 18:29:05 -0700 Subject: [PATCH] lint --- include/tvm/meta_schedule/tune_context.h | 3 +-- src/meta_schedule/tune_context.cc | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/include/tvm/meta_schedule/tune_context.h b/include/tvm/meta_schedule/tune_context.h index cdc82502d19b8..89f8c4471dd80 100644 --- a/include/tvm/meta_schedule/tune_context.h +++ b/include/tvm/meta_schedule/tune_context.h @@ -100,8 +100,7 @@ class TuneContextNode : public runtime::Object { /*! \brief Initialize members that needs initialization with tune context. */ void Initialize(); /*! \brief Construct the measure candidate given initial IR module and trace. */ - MeasureCandidate _GetMeasureCandidate( - const IRModule& mod, const tir::Trace& trace); + MeasureCandidate _GetMeasureCandidate(const IRModule& mod, const tir::Trace& trace); /*! \brief Set the measure candidates from the SearchStrategy */ void _SetMeasureCandidates(const Array& candidates); /*! diff --git a/src/meta_schedule/tune_context.cc b/src/meta_schedule/tune_context.cc index a0243e8e46a99..7b0e5913f531a 100644 --- a/src/meta_schedule/tune_context.cc +++ b/src/meta_schedule/tune_context.cc @@ -70,8 +70,8 @@ void TuneContextNode::Initialize() { } } -MeasureCandidate TuneContextNode::_GetMeasureCandidate( - const IRModule& mod, const tir::Trace& trace) { +MeasureCandidate TuneContextNode::_GetMeasureCandidate(const IRModule& mod, + const tir::Trace& trace) { tir::Schedule sch = tir::Schedule::Traced(mod, -1, 0, tir::ScheduleErrorRenderLevel::kDetail); trace->ApplyToSchedule(sch, false, nullptr); tir::PrimFunc func;