Parallel Programming in Actor-Based Applications via OpenCL

Paul Harvey, Kristian Hentschel, Joseph Sventek
School of Computing Science, University of Glasgow, Glasgow, U.K.
The 16th International Conference on Middleware, 2015


   title={Parallel Programming in Actor-Based Applications via OpenCL},

   author={Harvey, Paul and Hentschel, Kristian and Sventek, Joseph},



GPU and multicore hardware architectures are commonly used in many different application areas to accelerate problem solutions relative to single CPU architectures. The typical approach to accessing these hardware architectures requires embedding logic into the programming language used to construct the application; the two primary forms of embedding are: calls to API routines to access the concurrent functionality, or pragmas providing concurrency hints to a language compiler such that particular blocks of code are targeted to the concurrent functionality. The former approach is verbose and semantically bankrupt, while the success of the latter approach is restricted to simple, static uses of the functionality. This paper presents an extension to an existing actor-based programming model and runtime to support executing applications on parallel hardware architectures. Besides the glove-like fit of a kernel to the actor abstraction, quantitative code analysis shows that actor-based kernels are always significantly simpler than API-based coding, and generally simpler than pragma-based coding. The structuring of applications in the manner, enables the runtime to automate the initialisation and interaction with these parallel hardware platforms. Performance measurements show that the overheads of actor-based kernels are commensurate to APIbased kernels, and range from equivalent to vastly improved for pragma-based annotations, both for sample and real-world applications.
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

* * *

* * *

HGPU group © 2010-2017 hgpu.org

All rights belong to the respective authors

Contact us: