Skip to main content
Top

2004 | OriginalPaper | Chapter

Semantic-Driven Parallelization of Loops Operating on User-Defined Containers

Authors : Dan Quinlan, Markus Schordan, Qing Yi, Bronis R. de Supinski

Published in: Languages and Compilers for Parallel Computing

Publisher: Springer Berlin Heidelberg

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

We describe ROSE, a C++ infrastructure for source-to-source translation, that provides an interface for programmers to easily write their own translators for optimizing the use of high-level abstractions. Utilizing the semantics of these high-level abstractions, we demonstrate the automatic parallelization of loops that iterate over user-defined containers that have interfaces similar to the lists, vectors and sets in the Standard Template Library (STL). The parallelization is realized in two phases. First, we insert OpenMP directives into a serial program, driven by the recognition of the high-level abstractions, containers, that are thread-safe. Then, we translate the OpenMP directives into library routines that explicitly create and manage parallelism. By providing an interface for the programmer to classify the semantics of their abstractions, we are able to automatically parallelize operations on containers, such as linked-lists, without resorting to complex loop dependence analysis techniques. Our approach is consistent with general goals within telescoping languages.

Metadata
Title
Semantic-Driven Parallelization of Loops Operating on User-Defined Containers
Authors
Dan Quinlan
Markus Schordan
Qing Yi
Bronis R. de Supinski
Copyright Year
2004
Publisher
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-540-24644-2_34

Premium Partner