Skip to content

Commit f366498

Browse files
committed
Print non-actionable parallelism to debug level 1
1 parent 4bbd1fa commit f366498

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
@@ -2882,8 +2882,8 @@ void Partitioner::vectorize_stage(const Group &g, Stage f_handle, int stage_num,
28822882
//
28832883
// TODO: Check if the warning is necessary.
28842884
if (vec_dim_index > 0) {
2885-
user_warning << "Outer dim vectorization of var \"" << vec_dim_name
2886-
<< "\" in function \"" << f_handle.name() << "\"\n";
2885+
debug(1) << "Outer dim vectorization of var \"" << vec_dim_name
2886+
<< "\" in function \"" << f_handle.name() << "\"\n";
28872887
}
28882888
}
28892889
}
@@ -3232,8 +3232,8 @@ void Partitioner::generate_group_cpu_schedule(
32323232
}
32333233
}
32343234

3235-
if (can_prove(def_par < arch_params.parallelism && def_par != 1)) {
3236-
user_warning << "Insufficient parallelism for " << f_handle.name() << "\n";
3235+
if (can_prove(def_par < arch_params.parallelism)) {
3236+
debug(1) << "Insufficient parallelism for " << f_handle.name() << "\n";
32373237
}
32383238

32393239
if (t.has_gpu_feature()) {

0 commit comments

Comments
 (0)