A divide-and-conquer parallel pattern implementation for multicores
Open Access
- 21 October 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 10-19
Abstract
Divide-and-Conquer (DaC) is a sequential programming paradigm which models a large class of algorithms used in real-life applications. Although suitable to extract parallelism in a straightforward way, the parallel implementation of DaC algorithms still requires some expertise in parallel programming tools by the programmer.\ud In this paper we aim at providing to non-expert programmers a high-level solution for fast prototyping parallel DaC programs on multicores with minimal programming effort.\ud Following the rationale of parallel design pattern methodology, we design a C++11-compliant template interface for developing parallel DaC programs. The interface is implemented using different back-end frameworks (i.e. OpenMP, Intel TBB and FastFlow) supporting source code reuse and a certain amount of performance portability.\ud Experiments on a 24-core Intel server show the effectiveness of our approach: with a reduced programming effort the programmer easily prototypes parallel versions with performance comparable with hand-made parallelizationsKeywords
This publication has 19 references indexed in Scilit:
- Proceedings of the Sixth International Workshop on Programming Models and Applications for Multicores and Manycores2015
- Patty2015
- A Cooperative Predictive Control Approach to Improve the Reconfiguration Stability of Adaptive Distributed Parallel ApplicationsACM Transactions on Autonomous and Adaptive Systems, 2014
- Control-theoretic adaptation strategies for autonomic reconfigurable parallel applications on cloud environments2013
- An Efficient Unbounded Lock-Free Queue for Multi-core Systems2012
- A Proposal for Task Parallelism in OpenMPLecture Notes in Computer Science, 2008
- Evaluation of OpenMP Task Scheduling StrategiesLecture Notes in Computer Science, 2008
- Bringing skeletons out of the closet: a pragmatic manifesto for skeletal parallel programmingParallel Computing, 2004
- $\mathcal{HDC}$: A HIGHER-ORDER LANGUAGE FOR DIVIDE-AND-CONQUERParallel Processing Letters, 2000
- The implementation of the Cilk-5 multithreaded languageACM SIGPLAN Notices, 1998