Exploiting Fine- and Coarse-Grained Parallelism Using a Directive Based Approach

  • Arpith C. Jacob
  • Ravi Nair
  • Alexandre E. Eichenberger
  • Samuel F. Antao
  • Carlo Bertolli
  • Tong Chen
  • Zehra Sura
  • Kevin O’Brien
  • Michael Wong
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9342)

Abstract

Modern high-performance machines are challenging to program because of the availability of a wide array of compute resources that often requires low-level, specialized knowledge to exploit. OpenMP is an effective directive-based approach that can effectively exploit shared-memory multicores. The recently introduced OpenMP 4.0 standard extends the directive-based approach to exploit accelerators. However, programming clusters still requires the use of other specialized languages or libraries.

In this work we propose the use of the target offloading constructs to program nodes distributed in a cluster. We introduce an abstract model of a cluster that defines a clique of distinct shared-memory domains that are manipulated with the target constructs. We have implemented this model in the LLVM compiler with an OpenMP runtime that supports transparent offloading to nodes in a cluster using MPI. Our initial results on HMMER, a widely used Bioinformatics tool, show excellent scaling behavior with a small constant-factor overhead as compared to a baseline MPI implementation. Our work raises the intriguing possibility of a natural progression of a program compiled for serial execution, to parallel execution on a multicore, to offloading onto accelerators, and finally extendible with minimal additional effort onto a cluster.

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Arpith C. Jacob
    • 1
  • Ravi Nair
    • 1
  • Alexandre E. Eichenberger
    • 1
  • Samuel F. Antao
    • 1
  • Carlo Bertolli
    • 1
  • Tong Chen
    • 1
  • Zehra Sura
    • 1
  • Kevin O’Brien
    • 1
  • Michael Wong
    • 2
  1. 1.IBM T.J. Watson Research CenterYorktown HeightsUSA
  2. 2.IBM Software GroupTorontoCanada

Personalised recommendations