The STAPL parallel container framework

Gabriel Tanase, Antal Buss, Adam Fidel, Harshvardhan, Ioannis Papadopoulos, Olga Pearce, Timmie Smith, Nathan Thomas, Xiabing Xu, Nedal Mourad, Jeremy Vu, Mauro Bianco, Nancy M. Amato, Lawrence Rauchwerger

Research output: Contribution to journalArticle

Abstract

The Standard Template Adaptive Parallel Library (STAPL) is a parallel programming infrastructure that extends C++ with support for parallelism. It includes a collection of distributed data structures called pContainers that are thread-safe, concurrent objects, i.e., shared objects that provide parallel methods that can be invoked concurrently. In this work, we present the STAPL Parallel Container Framework (PCF), that is designed to facilitate the development of generic parallel containers. We introduce a set of concepts and a methodology for assembling a pContainer from existing sequential or parallel containers, without requiring the programmer to deal with concurrency or data distribution issues. The PCF provides a large number of basic parallel data structures (e.g., pArray, pList, pVector, pMatrix, pGraph, pMap, pSet). The PCF provides a class hierarchy and a composition mechanism that allows users to extend and customize the current container base for improved application expressivity and performance. We evaluate STAPL pContainer performance on a CRAY XT4 massively parallel system and show that pContainer methods, generic pAlgorithms, and different applications provide good scalability on more than 16,000 processors.

Original languageEnglish (US)
Pages (from-to)235-245
Number of pages11
JournalACM SIGPLAN Notices
Volume46
Issue number8
DOIs
StatePublished - Aug 1 2011
Externally publishedYes

    Fingerprint

Keywords

  • Data
  • Languages
  • Libraries
  • Parallel
  • Programming
  • Structures

ASJC Scopus subject areas

  • Computer Science(all)

Cite this

Tanase, G., Buss, A., Fidel, A., Harshvardhan, Papadopoulos, I., Pearce, O., Smith, T., Thomas, N., Xu, X., Mourad, N., Vu, J., Bianco, M., Amato, N. M., & Rauchwerger, L. (2011). The STAPL parallel container framework. ACM SIGPLAN Notices, 46(8), 235-245. https://doi.org/10.1145/2038037.1941586