all hw threads

This commit is contained in:
Valentin Balaschenko
2025-06-02 19:20:45 +01:00
parent 393dd1e27d
commit 6c80a59364

View File

@@ -255,7 +255,7 @@ public:
{
// Set partitions to use half of the number of hardware threads if the
// parameter is either empty or set to 0.
partitions_ = std::size_t{std::thread::hardware_concurrency() / 2};
partitions_ = std::size_t{std::thread::hardware_concurrency()};
// partitions && *partitions
// ? *partitions
// : std::size_t{std::thread::hardware_concurrency() / 2};