Parallel Programming in Actor-Based Applications via OpenCL

被引:4
|
作者
Harvey, Paul [1 ]
Hentschel, Kristian [1 ]
Sventek, Joseph [2 ]
机构
[1] Univ Glasgow, Sch Comp Sci, Glasgow, Lanark, Scotland
[2] Univ Oregon, Dept Comp & Informat Sci, Eugene, OR 97403 USA
来源
PROCEEDINGS OF THE 16TH ANNUAL MIDDLEWARE CONFERENCE | 2015年
基金
英国工程与自然科学研究理事会;
关键词
parallel programming; actors; performance; OpenCL; middleware;
D O I
10.1145/2814576.2814732
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 this 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 API based kernels, and range from equivalent to vastly improved for pragma-based annotations, both for sample and real world applications.
引用
收藏
页码:162 / 172
页数:11
相关论文
共 50 条
  • [21] Parallel programming for multimedia applications
    Hari Kalva
    Aleksandar Colic
    Adriana Garcia
    Borko Furht
    Multimedia Tools and Applications, 2011, 51 : 801 - 818
  • [22] Parallel Design and Performance Optimization based on OpenCL Snort
    Xie, Hongying
    Xiang, Yangxia
    Chen, Caisen
    PROCEEDINGS OF THE 2017 2ND JOINT INTERNATIONAL INFORMATION TECHNOLOGY, MECHANICAL AND ELECTRONIC ENGINEERING CONFERENCE (JIMEC 2017), 2017, 62 : 644 - 647
  • [23] OpenCL parallel integration of ordinary differential equations: Applications in computational dynamics
    Rodriguez, Marcos
    Blesa, Fernando
    Barrio, Roberto
    COMPUTER PHYSICS COMMUNICATIONS, 2015, 192 : 228 - 236
  • [24] An Actor-Based Formal Model and Runtime Environment for Resource-Bounded IoT Services
    Ahmed, Ahmed Abdelmoamen
    ALGORITHMS, 2022, 15 (11)
  • [25] Research on Parallel Architecture of OpenCL-Based FPGA
    Zhang, Yi
    Cai, Ye
    Luo, Qiuming
    SMART COMPUTING AND COMMUNICATION, SMARTCOM 2017, 2018, 10699 : 27 - 38
  • [26] Who Differentiates between Muslims and Islamist Terrorists in Terrorism News Coverage? An Actor-based Approach
    Matthes, Joerg
    Kaskeleviciute, Ruta
    Schmuck, Desiree
    von Sikorski, Christian
    Klobasa, Claudia
    Knupfer, Helena
    Saumer, Melanie
    JOURNALISM STUDIES, 2020, 21 (15) : 2135 - 2153
  • [27] OpenCL Based Parallel Algorithm for RBF-PUM Interpolation
    Roberto Cavoretto
    Teseo Schneider
    Patrick Zulian
    Journal of Scientific Computing, 2018, 74 : 267 - 289
  • [28] OpenCL Based Parallel Algorithm for RBF-PUM Interpolation
    Cavoretto, Roberto
    Schneider, Teseo
    Zulian, Patrick
    JOURNAL OF SCIENTIFIC COMPUTING, 2018, 74 (01) : 267 - 289
  • [29] Automatic and Portable Mapping of Data Parallel Programs to OpenCL for GPU-Based Heterogeneous Systems
    Wang, Zheng
    Grewe, Dominik
    O'Boyle, Michael F. P.
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2014, 11 (04)
  • [30] AFOCL: Portable OpenCL Programming of FPGAs via Automated Built-in Kernel Management
    Leppanen, Topi
    Multanen, Joonas
    Leppanen, Leevi
    Jaaskelainen, Pekka
    2023 IEEE NORDIC CIRCUITS AND SYSTEMS CONFERENCE, NORCAS, 2023,