O'Reilly logo

Shared Memory Application Programming by Victor Alessandrini

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 14

Further Data Parallel Examples

Abstract

Two applications dealing with the solutions of partial differential equations in two dimensions are examined, after a short review of the iterative relaxation methods used. The first example uses a slowly convergent but easy to parallelize algorithm. The second example adopts a more rapidly convergent method, but at the price of introducing data dependencies that invalidate the previous parallelization procedure. Different ways of coping with these data dependencies are explored, and different versions of the codes in the three programming environments—OpenMP, TBB, and vath—are also proposed. Their scalability properties as well as the impact of vectorization are examined.

Keywords

Relaxation ...

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