scholarly journals Nested Parallelism with Algorithmic Skeletons

Author(s):  
Alireza Majidi ◽  
Nathan Thomas ◽  
Timmie Smith ◽  
Nancy Amato ◽  
Lawrence Rauchwerger
Author(s):  
Breno A. de Melo Menezes ◽  
Nina Herrmann ◽  
Herbert Kuchen ◽  
Fernando Buarque de Lima Neto

AbstractParallel implementations of swarm intelligence algorithms such as the ant colony optimization (ACO) have been widely used to shorten the execution time when solving complex optimization problems. When aiming for a GPU environment, developing efficient parallel versions of such algorithms using CUDA can be a difficult and error-prone task even for experienced programmers. To overcome this issue, the parallel programming model of Algorithmic Skeletons simplifies parallel programs by abstracting from low-level features. This is realized by defining common programming patterns (e.g. map, fold and zip) that later on will be converted to efficient parallel code. In this paper, we show how algorithmic skeletons formulated in the domain specific language Musket can cope with the development of a parallel implementation of ACO and how that compares to a low-level implementation. Our experimental results show that Musket suits the development of ACO. Besides making it easier for the programmer to deal with the parallelization aspects, Musket generates high performance code with similar execution times when compared to low-level implementations.


Author(s):  
Ioannis Papadopoulos ◽  
Nathan Thomas ◽  
Adam Fidel ◽  
Dielli Hoxha ◽  
Nancy M. Amato ◽  
...  

Sign in / Sign up

Export Citation Format

Share Document