Skip to content

Commit

Permalink
Silence useless 'Outer dim vectorization of var' warning in Mullapudi… (
Browse files Browse the repository at this point in the history
#7992)

Silence useless 'Outer dim vectorization of var' warning in Mullapudi scheduler
  • Loading branch information
steven-johnson authored Dec 7, 2023
1 parent df36139 commit 5aa891a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/autoschedulers/mullapudi2016/AutoSchedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2479,10 +2479,13 @@ void Partitioner::vectorize_stage(const Group &g, Stage f_handle, int stage_num,
// storage dimension of the func.
//
// TODO: Check if the warning is necessary.
if (vec_dim_index > 0) {
user_warning << "Outer dim vectorization of var \"" << vec_dim_name
<< "\" in function \"" << f_handle.name() << "\"\n";
}
//
// Disabled: this isn't really user actionable, and is just noise.
//
// if (vec_dim_index > 0) {
// user_warning << "Outer dim vectorization of var \"" << vec_dim_name
// << "\" in function \"" << f_handle.name() << "\"\n";
// }
}
}

Expand Down

0 comments on commit 5aa891a

Please sign in to comment.