Parallel Programming in Actor-Based Applications via OpenCL

被引:3
|
作者
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
基金
英国工程与自然科学研究理事会;
关键词
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 条
  • [1] OpenCL Actors - Adding Data Parallelism to Actor-Based Programming with CAF
    Hiesgen, Raphael
    Charousset, Dominik
    Schmidt, Thomas C.
    [J]. PROGRAMMING WITH ACTORS: STATE-OF-THE-ART AND RESEARCH PERSPECTIVES, 2018, 10789 : 59 - 93
  • [2] Library Support in an Actor-Based Parallel Programming Platform
    Park, Hae-woo
    Jung, Hanwoong
    Oh, Hyunok
    Ha, Soonhoi
    [J]. IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2011, 7 (02) : 340 - 353
  • [3] Accelerating Actor-based Applications with Parallel Patterns
    Rinaldi, Luca
    Torquati, Massimo
    Mencagli, Gabriele
    Danelutto, Marco
    Menga, Tullio
    [J]. 2019 27TH EUROMICRO INTERNATIONAL CONFERENCE ON PARALLEL, DISTRIBUTED AND NETWORK-BASED PROCESSING (PDP), 2019, : 140 - 147
  • [4] A Productive and Scalable Actor-Based Programming System for PGAS Applications
    Paul, Sri Raj
    Hayashi, Akihiro
    Chen, Kun
    Sarkar, Vivek
    [J]. COMPUTATIONAL SCIENCE - ICCS 2022, PT I, 2022, : 233 - 247
  • [5] Efficient Profiling of Actor-based Applications in Parallel and Distributed Systems
    Rosa, Andrea
    Chen, Lydia Y.
    Binder, Walter
    [J]. PROCEEDINGS OF THE 11TH WORKSHOP ON IMPLEMENTATION, COMPILATION, OPTIMIZATION OF OBJECT-ORIENTED LANGUAGES, PROGRAMS AND SYSTEMS (ICOOOLPS'16), 2016,
  • [6] Actor-Based Parallel Dataflow Analysis
    Rodriguez, Jonathan
    Lhotak, Ondrej
    [J]. COMPILER CONSTRUCTION, 2011, 6601 : 179 - 197
  • [7] Programming Actor-Based Collective Adaptive Systems
    Casadei, Roberto
    Viroli, Mirko
    [J]. PROGRAMMING WITH ACTORS: STATE-OF-THE-ART AND RESEARCH PERSPECTIVES, 2018, 10789 : 94 - 122
  • [8] Programming strategies using an actor-based environment
    Wazlawick, RS
    Mariani, AC
    [J]. INFORMATICS CURRICULA AND TEACHING METHODS, 2003, 117 : 63 - 68
  • [9] An Actor-based Programming Framework for Swarm Robotic Systems
    Yi, Wei
    Di, Bin
    Li, Ruihao
    Dai, Huadong
    Yi, Xiaodong
    Wang, Yanzhen
    Yang, Xuejun
    [J]. 2020 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS), 2020, : 8012 - 8019
  • [10] Distributed Functional Reactive Programming on Actor-Based Runtime
    Shibanai, Kazuhiro
    Watanabe, Takuo
    [J]. AGERE'18: PROCEEDINGS OF THE 8TH ACM SIGPLAN INTERNATIONAL WORKSHOP ON PROGRAMMING BASED ON ACTORS, AGENTS, AND DECENTRALIZED CONTROL, 2018, : 13 - 22