Treffer: RPL: A Domain-Specific Language for Designing and Implementing Parallel C++ Applications

Title:
RPL: A Domain-Specific Language for Designing and Implementing Parallel C++ Applications
Contributors:
Cotronis Y.,Daneshtalab M.,Papadopoulos G.A., Janjic, V., Brown, C., Mackenzie, K., Hammond, K., Danelutto, Marco, Aldinucci, M., Garcia, J. Daniel
Publisher Information:
Institute of Electrical and Electronics Engineers Inc.
USA
Piscataway
Publication Year:
2016
Collection:
ARPI - Archivio della Ricerca dell'Università di Pisa
Document Type:
Konferenz conference object
File Description:
ELETTRONICO
Language:
English
Relation:
info:eu-repo/semantics/altIdentifier/isbn/9781467387750; info:eu-repo/semantics/altIdentifier/wos/000381810900036; ispartofbook:Proceedings - 24th Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2016; 24th Euromicro International Conference on Parallel, Distributed, and Network-Based Processing, PDP 2016; firstpage:288; lastpage:295; numberofpages:8; alleditors:Cotronis Y.,Daneshtalab M.,Papadopoulos G.A.; https://hdl.handle.net/11568/805041
DOI:
10.1109/PDP.2016.122
Accession Number:
edsbas.EFE071D8
Database:
BASE

Weitere Informationen

Parallelising sequential applications is usually a very hard job, due to many different ways in which an application can be parallelised and a large number of programming models (each with its own advantages and disadvantages) that can be used. In this paper, we describe a method to semi-automatically generate and evaluate different parallelisations of the same application, allowing programmers to find the best parallelisation without significant manual reengineering of the code. We describe a novel, high-level domain-specific language, Refactoring Pattern Language (RPL), that is used to represent the parallel structure of an application and to capture its extra-functional properties (such as service time). We then describe a set of RPL rewrite rules that can be used to generate alternative, but semantically equivalent, parallel structures (parallelisations) of the same application. We also describe the RPL Shell that can be used to evaluate these parallelisations, in terms of the desired extra-functional properties. Finally, we describe a set of C++ refactorings, targeting OpenMP, Intel TBB and FastFlow parallel programming models, that semi-automatically apply the desired parallelisation to the application's source code, therefore giving a parallel version of the code. We demonstrate how the RPL and the refactoring rules can be used to derive efficient parallelisations of two realistic C++ use cases (Image Convolution and Ant Colony Optimisation).