Local parallel iteration in X10

Josh Milthorpe*

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

1 Citation (Scopus)

Abstract

X10 programs have achieved high efficiency on petascale clusters by making significant use of parallelism between places, however, there has been less focus on exploiting local parallelism within a place. This paper introduces a standard mechanism - foreach - for efficient local parallel iteration in X10, including support for workerlocal data. Library code transforms parallel iteration into an efficient pattern of activities for execution by X10's work-stealing runtime. Parallel reductions and worker-local data help to avoid unnecessary synchronization between worker threads. The foreach mechanism is compared with leading programming technologies for shared-memory parallelism using kernel codes from high performance scientific applications. Experiments on a typical Intel multicore architecture show that X10 with foreach achieves parallel speedup comparable with OpenMP and TBB for several important patterns of iteration. foreach is composable with X10's asynchronous partitioned global address space model, and therefore represents a step towards a parallel programming model that can express the full range of parallelism in modern high performance computing systems.

Original languageEnglish
Title of host publicationX10 2015 - Proceedings of the ACM SIGPLAN Workshop on X10, co-located with PLDI 2015
EditorsJose Nelson Amaral, Olivier Tardieu
PublisherAssociation for Computing Machinery (ACM)
Pages7-12
Number of pages6
ISBN (Electronic)9781450335867
DOIs
Publication statusPublished - 14 Jun 2015
Externally publishedYes
Event5th ACM SIGPLAN Workshop on X10, X10 2015 - Portland, United States
Duration: 14 Jun 2015 → …

Publication series

NameX10 2015 - Proceedings of the ACM SIGPLAN Workshop on X10, co-located with PLDI 2015

Conference

Conference5th ACM SIGPLAN Workshop on X10, X10 2015
Country/TerritoryUnited States
CityPortland
Period14/06/15 → …

Fingerprint

Dive into the research topics of 'Local parallel iteration in X10'. Together they form a unique fingerprint.

Cite this