O'Reilly logo

High Performance Parallelism Pearls Volume One by James Jeffers, James Reinders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required