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 条
  • [41] Masivo: Parallel Simulation Model Based on OpenCL for Massive Public Transportation Systems' Routes
    Ruiz-Rosero, Juan
    Ramirez-Gonzalez, Gustavo
    Khanna, Rahul
    ELECTRONICS, 2019, 8 (12)
  • [42] PROBABILISTIC PARALLEL PROGRAMMING BASED ON MULTISET TRANSFORMATION
    MURTHY, VK
    KRISHNAMURTHY, EV
    FUTURE GENERATION COMPUTER SYSTEMS, 1995, 11 (03) : 283 - 293
  • [43] A Parallel Swarm Library Based on Functional Programming
    Rubio, Fernando
    de la Encina, Alberto
    Rabanal, Pablo
    Rodriguez, Ismael
    ADVANCES IN COMPUTATIONAL INTELLIGENCE, IWANN 2017, PT I, 2017, 10305 : 3 - 15
  • [44] Object-oriented environment for parallel programming of multicore clusters based on flowgraph stream parallel programming language
    Kutepov, V. P.
    Kotlyarov, Dx
    Malanin, V. N.
    Pankov, N. A.
    DCABES 2007 Proceedings, Vols I and II, 2007, : 347 - 350
  • [45] The Effect of Parallel Programming Languages on the Performance and Energy Consumption of HPC Applications
    Aqib, Muhammad
    Fouz, Fadi Fouad
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2016, 7 (02) : 174 - 179
  • [46] Simplifying Programming and Load Balancing of Data Parallel Applications on Heterogeneous Systems
    Perez, Borja
    Luis Bosque, Jose
    Beivide, Ramon
    9TH WORKSHOP ON GENERAL PURPOSE PROCESSING USING GPUS (GPGPU 9), 2016, : 43 - 52
  • [47] Predicting Success in Undergraduate Parallel Programming via Probabilistic Causality Analysis
    Raj, Sunny
    Jha, Sumit Kumar
    2018 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW 2018), 2018, : 347 - 352
  • [48] PList-based Divide and Conquer Parallel Programming
    Niculescu, Virginia
    Bufnea, Darius
    Sterca, Adrian
    JOURNAL OF COMMUNICATIONS SOFTWARE AND SYSTEMS, 2020, 16 (02) : 197 - 206
  • [49] Three-dimensional multi-phase-field simulation of eutectoid alloy based on OpenCL parallel
    Zhu, Chang-sheng
    Li, Yu-jie
    Ma, Fang-lan
    Feng, Li
    Lei, Peng
    CHINA FOUNDRY, 2021, 18 (03) : 239 - 248
  • [50] Three-dimensional multi-phase-field simulation of eutectoid alloy based on OpenCL parallel
    Chang-sheng Zhu
    Yu-jie Li
    Fang-lan Ma
    Li Feng
    Peng Lei
    China Foundry, 2021, 18 : 239 - 248