Skip to content

Commit

Permalink
bug fix: missing default initialization to a proper value
Browse files Browse the repository at this point in the history
  • Loading branch information
albestro committed Dec 13, 2024
1 parent c852a3c commit f0638e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/dlaf/tune.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ struct TuneParameters {

const auto default_pool_thread_count =
pika::resource::get_thread_pool("default").get_os_thread_count();
tfactor_nworkers = std::max<std::size_t>(1, default_pool_thread_count / 2);
red2band_panel_nworkers = std::max<std::size_t>(1, default_pool_thread_count / 2);
tridiag_rank1_nworkers = default_pool_thread_count;
}
Expand Down

0 comments on commit f0638e1

Please sign in to comment.