Categories
  Encyclosphere.org ENCYCLOREADER
  supported by EncyclosphereKSF

Loop scheduling

From HandWiki - Reading time: 1 min

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.

References

See also




Licensed under CC BY-SA 3.0 | Source: https://handwiki.org/wiki/Loop_scheduling
17 views | Status: cached on July 17 2024 11:07:50
↧ Download this article as ZWI file
Encyclosphere.org EncycloReader is supported by the EncyclosphereKSF