Skip to content

Commit 4bfdf3f

Browse files
committed
Print non-actionable parallelism to debug level 1
1 parent d3f411b commit 4bfdf3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/autoschedulers/mullapudi2016/AutoSchedule.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2885,8 +2885,8 @@ void Partitioner::vectorize_stage(const Group &g, Stage f_handle, int stage_num,
28852885
//
28862886
// TODO: Check if the warning is necessary.
28872887
if (vec_dim_index > 0) {
2888-
user_warning << "Outer dim vectorization of var \"" << vec_dim_name
2889-
<< "\" in function \"" << f_handle.name() << "\"\n";
2888+
debug(1) << "Outer dim vectorization of var \"" << vec_dim_name
2889+
<< "\" in function \"" << f_handle.name() << "\"\n";
28902890
}
28912891
}
28922892
}
@@ -3235,8 +3235,8 @@ void Partitioner::generate_group_cpu_schedule(
32353235
}
32363236
}
32373237

3238-
if (can_prove(def_par < arch_params.parallelism && def_par != 1)) {
3239-
user_warning << "Insufficient parallelism for " << f_handle.name() << "\n";
3238+
if (can_prove(def_par < arch_params.parallelism)) {
3239+
debug(1) << "Insufficient parallelism for " << f_handle.name() << "\n";
32403240
}
32413241

32423242
if (t.has_gpu_feature()) {

0 commit comments

Comments
 (0)