Skip to content

Commit

Permalink
Merge pull request #6490 from STEllAR-GROUP/max_cpu_count
Browse files Browse the repository at this point in the history
Remove the default max cpu count
  • Loading branch information
hkaiser authored May 16, 2024
2 parents d1bb52a + 589bf7f commit 614d688
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/core/config/include/hpx/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@
# define HPX_HAVE_MAX_CPU_COUNT 256
#endif

#if !defined(HPX_HAVE_MAX_CPU_COUNT)
#if !defined(HPX_HAVE_MAX_CPU_COUNT) && !defined(HPX_HAVE_MORE_THAN_64_THREADS)
#define HPX_HAVE_MAX_CPU_COUNT 64
#endif

Expand Down
2 changes: 1 addition & 1 deletion libs/core/resource_partitioner/src/detail_partitioner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ namespace hpx::resource::detail {
{
return true;
}
for (auto const assigned_pus :
for (auto const& assigned_pus :
initial_thread_pools_[i].assigned_pus_)
{
if (!threads::any(assigned_pus))
Expand Down

0 comments on commit 614d688

Please sign in to comment.