Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathryn-cat committed Jun 17, 2022
1 parent 628dd2c commit de4d634
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions include/tvm/meta_schedule/tune_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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<MeasureCandidate>& candidates);
/*!
Expand Down
4 changes: 2 additions & 2 deletions src/meta_schedule/tune_context.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit de4d634

Please sign in to comment.