See Public API for a list of names and headers that are part of the public HPX API.
- #include <auto_chunk_size.hpp>
Loop iterations are divided into pieces and then assigned to threads. The number of loop iterations combined is determined based on measurements of how long the execution of 1% of the overall number of iterations takes. This executor parameters type makes sure that as many loop iterations are combined as necessary to run for the amount of time specified.
auto_chunk_size(std::uint64_t num_iters_for_timing = 0)¶
Construct an auto_chunk_size executor parameters object
Default constructed auto_chunk_size executor parameter types will use 80 microseconds as the minimal time for which any of the scheduled chunks should run.