Loop scheduling

Uses your system voice; voice and rate in settings.

Snapshot

≈ 2 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

In parallel computing, loop scheduling is the problem of assigning proper iterations of parallelizable loops among n processors to achieve load balancing and maintain data locality with minimum dispatch overhead. Typical loop scheduling methods are: * static even scheduling: evenly divide loop iteration space into n chunks and assign each chunk to a processor * dynamic scheduling: a chunk of loop iteration is dispatched at runtime by an idle processor. When the chunk size is 1 iteration, it is also called self-scheduling. * guided scheduling: similar to dynamic scheduling, but the chunk sizes per dispatch keep shrinking until reaching a preset value.

In parallel computing, loop scheduling is the problem of assigning proper iterations of parallelizable loops among n processors to achieve load balancing and maintain data locality with minimum dispatch overhead. Typical loop scheduling methods are: static even scheduling: evenly divide loop iteration space into n chunks and assign each chunk to a processor dynamic scheduling: a chunk of loop iteration is dispatched at runtime by an idle processor. When the chunk size is 1 iteration, it is also called self-scheduling. guided scheduling: similar to dynamic scheduling, but the chunk sizes per dispatch keep shrinking until reaching a preset value. ==See also== OpenMP Automatic parallelization Loop nest optimization

Text derived from https://en.wikipedia.org/w/index.php?oldid=1061136684 under CC BY-SA 4.0; modifications have been made.

Provenance

snapshot enwiki-001061136684 · captured 1639947042.0 · version history

Cite this page as: encyclopegia.org, “Loop scheduling”, snapshot enwiki-001061136684. https://encyclopegia.org/a/loop-scheduling