hpx::execution::experimental::task_size_chunk_size

hpx::execution::experimental::task_size_chunk_size#

Defined in header hpx/execution.hpp.

See Public API for a list of names and headers that are part of the public HPX API.

struct task_size_chunk_size#

Loop iterations are divided into chunks based on the task size of the loop body (see hpx::task_size). The run time a size stands for (see hpx::task_size_duration) is taken as the run time of one iteration, nothing is measured. The loop runs on as many cores as can be given chunks_per_core chunks of at least min_chunk_time each, at least on one, and then on the calling thread if it is only one chunk.

A loop body without a size is chunked as with the default parameters.