Transactions on Architecture and Code Optimization, volume 11, issue 4, pages 1-21

Using Template Matching to Infer Parallel Design Patterns

Publication typeJournal Article
Publication date2015-01-09
Q2
Q2
SJR0.628
CiteScore3.6
Impact factor1.5
ISSN15443566, 15443973
Hardware and Architecture
Information Systems
Software
Abstract

The triumphant spread of multicore processors over the past decade increases the pressure on software developers to exploit the growing amount of parallelism available in the hardware. However, writing parallel programs is generally challenging. For sequential programs, the formulation of design patterns marked a turning point in software development, boosting programmer productivity and leading to more reusable and maintainable code. While the literature is now also reporting a rising number of parallel design patterns, programmers confronted with the task of parallelizing an existing sequential program still struggle with the question of which parallel pattern to apply where in their code. In this article, we show how template matching, a technique traditionally used in the discovery of sequential design patterns, can also be used to support parallelization decisions. After looking for matches in a previously extracted dynamic dependence graph, we classify code blocks of the input program according to the structure of the parallel patterns we find. Based on this information, the programmer can easily implement the detected pattern and create a parallel version of his or her program. We tested our approach with six programs, in which we successfully detected pipeline and do-all patterns.

Found 
Found 

Top-30

Journals

1
2
Lecture Notes in Computer Science
2 publications, 12.5%
Transactions on Architecture and Code Optimization
1 publication, 6.25%
Concurrency Computation Practice and Experience
1 publication, 6.25%
Journal of Automated Reasoning
1 publication, 6.25%
1
2

Publishers

1
2
3
Springer Nature
3 publications, 18.75%
Association for Computing Machinery (ACM)
1 publication, 6.25%
Wiley
1 publication, 6.25%
1
2
3
  • We do not take into account publications without a DOI.
  • Statistics recalculated only for publications connected to researchers, organizations and labs registered on the platform.
  • Statistics recalculated weekly.

Are you a researcher?

Create a profile to get free access to personal recommendations for colleagues and new articles.
Metrics
Share
Cite this
GOST |
Cite this
GOST Copy
Huda Z. U., Jannesari A., WOLF F. Using Template Matching to Infer Parallel Design Patterns // Transactions on Architecture and Code Optimization. 2015. Vol. 11. No. 4. pp. 1-21.
GOST all authors (up to 50) Copy
Huda Z. U., Jannesari A., WOLF F. Using Template Matching to Infer Parallel Design Patterns // Transactions on Architecture and Code Optimization. 2015. Vol. 11. No. 4. pp. 1-21.
RIS |
Cite this
RIS Copy
TY - JOUR
DO - 10.1145/2688905
UR - https://doi.org/10.1145/2688905
TI - Using Template Matching to Infer Parallel Design Patterns
T2 - Transactions on Architecture and Code Optimization
AU - Huda, Zia Ul
AU - Jannesari, Ali
AU - WOLF, FELIX
PY - 2015
DA - 2015/01/09
PB - Association for Computing Machinery (ACM)
SP - 1-21
IS - 4
VL - 11
SN - 1544-3566
SN - 1544-3973
ER -
BibTex |
Cite this
BibTex (up to 50 authors) Copy
@article{2015_Huda,
author = {Zia Ul Huda and Ali Jannesari and FELIX WOLF},
title = {Using Template Matching to Infer Parallel Design Patterns},
journal = {Transactions on Architecture and Code Optimization},
year = {2015},
volume = {11},
publisher = {Association for Computing Machinery (ACM)},
month = {jan},
url = {https://doi.org/10.1145/2688905},
number = {4},
pages = {1--21},
doi = {10.1145/2688905}
}
MLA
Cite this
MLA Copy
Huda, Zia Ul, et al. “Using Template Matching to Infer Parallel Design Patterns.” Transactions on Architecture and Code Optimization, vol. 11, no. 4, Jan. 2015, pp. 1-21. https://doi.org/10.1145/2688905.
Found error?