Skip to content

Commit

Permalink
Print non-actionable parallelism to debug level 1
Browse files Browse the repository at this point in the history
  • Loading branch information
antonysigma committed Aug 22, 2023
1 parent d3f411b commit 4bfdf3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/autoschedulers/mullapudi2016/AutoSchedule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2885,8 +2885,8 @@ void Partitioner::vectorize_stage(const Group &g, Stage f_handle, int stage_num,
//
// 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";
debug(1) << "Outer dim vectorization of var \"" << vec_dim_name
<< "\" in function \"" << f_handle.name() << "\"\n";
}
}
}
Expand Down Expand Up @@ -3235,8 +3235,8 @@ void Partitioner::generate_group_cpu_schedule(
}
}

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

if (t.has_gpu_feature()) {
Expand Down

0 comments on commit 4bfdf3f

Please sign in to comment.