flâneur — a map of the web's best reading

OpenMP: For & Scheduling

jakascorner.com · 1,471 words · saved by 1 readers

OpenMP specialty is a parallelization of loops. The loop constructenables the parallelization.

OpenMP specialty is a parallelization of loops. The loop construct enables the parallelization. #pragma omp parallel for for (...) { ... } OpenMP then takes care about all the details of the parallelization. It creates a team of threads and distributes the iterations between the threads. In this article, we explore how OpenMP schedules the iterations between the threads and how can we change this behavior. First, we examine different ways to specify a scheduling type of a loop. Then, we describe five different scheduling types. Scheduling We describe how a programmer can determine a scheduling

Explore this link on the map →

saved by

related reading