Skip to content

Commit

Permalink
Set default max_threads_per_core parameter to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
olegkkruglov committed Oct 9, 2023
1 parent 440c40b commit e8830f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/oneapi/dal/detail/policy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ struct ONEDAL_EXPORT threading_policy {

threading_policy(bool thread_pinning_ = false,
int max_concurrency_ = 0,
int max_threads_per_core_ = 0)
int max_threads_per_core_ = 1)
: thread_pinning(thread_pinning_),
max_concurrency(max_concurrency_),
max_threads_per_core(max_threads_per_core_) {}
Expand Down

0 comments on commit e8830f9

Please sign in to comment.