hpx::execution::experimental::max_num_chunks#
Defined in header hpx/execution.hpp.
See Public API for a list of names and headers that are part of the public HPX API.
-
namespace hpx
-
namespace execution
-
namespace experimental
-
struct max_num_chunks#
- #include <max_num_chunks.hpp>
Loop iterations are divided into not more than num_chunks partitions that are assigned to threads. If num_chunks is not specified, the number of chunks is determined based on the number of available cores.
Public Functions
-
max_num_chunks() = default#
Construct a max_num_chunks executor parameters object
Note
By default the number of number of chunks is determined from the number of available cores.
-
inline explicit constexpr max_num_chunks(std::size_t num_chunks) noexcept#
Construct a max_num_chunks executor parameters object
- Parameters
num_chunks – [in] The optional number of chunks to use to run on a single thread.
-
max_num_chunks() = default#
-
struct max_num_chunks#
-
namespace experimental
-
namespace execution