Dynamic Load Balancing Using OpenMP 4.0
Gilles Civario; Michael Lysaght ICHEC, Ireland
Abstract
In this chapter, we have introduced a simple and portable method to dynamically balance workload between all the computing resources available on a heterogeneous platform, including the Intel Xeon Phi coprocessors. We have applied the method to a typical N-Body gravitational algorithm and managed to achieve speedups of up to 4 × in single precision and 6.5 × in double precision, relative to using the two conventional Intel Xeon processors on their own. Moreover, the method, using only a handful of standard OpenMP 4.0 features throughout, is perfectly portable and future proof. It should be emphasized that the dynamic load-balancing ...
Get High Performance Parallelism Pearls Volume One now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.