Loading…

Yada: Straightforward parallel programming

► Yada is a new, programmer-friendly deterministic parallel programming language. ► Sharing types simplify and generalize the writing of deterministic parallel programs. ► Evaluation on several parallel algorithms and applications shows good speedups. ► Clarifies applicability of parallel-prefix to...

Full description

Saved in:
Bibliographic Details
Published in:Parallel computing 2011-09, Vol.37 (9), p.592-609
Main Authors: Gay, David, Galenson, Joel, Naik, Mayur, Yelick, Kathy
Format: Article
Language:English
Subjects:
Citations: Items that this one cites
Items that cite this one
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:► Yada is a new, programmer-friendly deterministic parallel programming language. ► Sharing types simplify and generalize the writing of deterministic parallel programs. ► Evaluation on several parallel algorithms and applications shows good speedups. ► Clarifies applicability of parallel-prefix to parallelizing sequential code. Now that multicore chips are common, providing an approach to parallel programming that is usable by regular programmers has become even more important. This cloud has one silver lining: providing useful speedup on a program is useful in and of itself, even if the resulting performance is lower than the best possible parallel performance on the same program. To help achieve this goal, Yada is an explicitly parallel programming language with sequential semantics. Explicitly parallel, because we believe that programmers need to identify how and where to exploit potential parallelism, but sequential semantics so that programmers can understand and debug their parallel programs in the way that they already know, i.e. as if they were sequential. The key new idea in Yada is the provision of a set of types that support parallel operations while still preserving sequential semantics. Beyond the natural read-sharing found in most previous sequential-like languages, Yada supports three other kinds of sharing. Writeonce locations support a single write and multiple reads, and two kinds of sharing for locations updated with an associative operator generalise the reduction and parallel-prefix operations found in many data-parallel languages. We expect to support other kinds of sharing in the future. We have evaluated our Yada prototype on eight algorithms and four applications, and found that programs require only a few changes to get useful speedups ranging from 2.2 to 6.3 on an 8-core machine. Yada performance is mostly comparable to parallel implementations of the same programs using OpenMP or explicit threads.
ISSN:0167-8191
1872-7336
DOI:10.1016/j.parco.2011.02.005