OpenMP Parallelization of Dynamic Programming and Greedy Algorithms

01/20/2020
by   Claude Tadonki, et al.
0

Multicore has emerged as a typical architecture model since its advent and stands now as a standard. The trend is to increase the number of cores and improve the performance of the memory system. Providing an efficient multicore implementation for a important algorithmic kernel is a genuine contribution. From a methodology standpoint, this should be done at the level of the underlying paradigm if any. In this paper, we study the cases of dynamic programming and greedy algorithms, which are two major algorithmic paradigms. We exclusively consider directives-based loop parallelization through OpenMP and investigate necessary pre-transformations to reach a regular parallel form. We evaluate our methodology with a selection of well-known combinatorial optimization problems on an INTEL Broadwell processor. Key points for scalability are discussed before and after experimental results. Our immediate perspective is to extend our study to the manycore case, with a special focus on NUMA configurations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/24/2022

Synthesizing Efficient Dynamic Programming Algorithms

Dynamic programming is an important optimization technique, but designin...
research
03/14/2018

Greedy can also beat pure dynamic programming

Many dynamic programming algorithms are "pure" in that they only use min...
research
12/23/2020

Approximation Limitations of Pure Dynamic Programming

We prove the first, even super-polynomial, lower bounds on the size of t...
research
03/14/2018

Greedy can beat pure dynamic programming

Many dynamic programming algorithms for discrete 0-1 optimizationproblem...
research
11/19/2020

Illustrating the Suitability of Greedy and Dynamic Algorithms Using The Economics Concept of "Opportunity Cost"

Students of Computer Science often wonder when, exactly, one can apply a...
research
08/14/2015

Sufficient and necessary conditions for Dynamic Programming in Valuation-Based Systems

Valuation algebras abstract a large number of formalisms for automated r...
research
04/01/2019

Modular Synthesis of Divide-and-Conquer Parallelism for Nested Loops (Extended Version)

We propose a methodology for automatic generation of divide-and-conquer ...

Please sign up or login with your details

Forgot password? Click here to reset