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 条
  • [31] Efficient symmetry reduction for an actor-based model
    Jaghoori, MM
    Sirjani, M
    Mousavi, MR
    Movaghar, A
    [J]. DISTRIBUTED COMPUTING AND INTERNET TECHNOLOGY, PROCEEDINGS, 2005, 3816 : 494 - 507
  • [32] A Reliability Benchmark for Actor-Based Server Languages
    Randtoul, Aidan
    Trinder, Phil
    [J]. PROCEEDINGS OF THE 21ST ACM SIGPLAN INTERNATIONAL WORKSHOP ON ERLANG, ERLANG 2022, 2022, : 21 - 32
  • [33] An actor-based framework for distributed mobile computation
    Burge, LL
    George, KM
    [J]. INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED PROCESSING TECHNIQUES AND APPLICATIONS, VOLS I-IV, PROCEEDINGS, 1998, : 778 - 785
  • [34] Efficient linearizability checking for actor-based systems
    Al-Mahfoudh, Mohammed S.
    Stutsman, Ryan
    Gopalakrishnan, Ganesh
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 2023, 53 (11): : 2163 - 2199
  • [35] Real-world actor-based image steganalysis via classifier inconsistency detection
    Lerch-Hostalot, Daniel
    Megias, David
    [J]. 18TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY & SECURITY, ARES 2023, 2023,
  • [36] Purpose-Based Policy Enforcement in Actor-Based Systems
    Riahi, Shahrzad
    Khosravi, Ramtin
    Ghassemi, Fatemeh
    [J]. FUNDAMENTALS OF SOFTWARE ENGINEERING, FSEN 2017, 2017, 10522 : 196 - 211
  • [37] Sexual harassment as aggressive behavior: An actor-based perspective
    O'Leary-Kelly, AM
    Paetzold, RL
    Grifffin, RW
    [J]. ACADEMY OF MANAGEMENT REVIEW, 2000, 25 (02): : 372 - 388
  • [38] Quality Assurance for Concurrent Software - An Actor-Based Approach
    Burmeister, Rodger
    [J]. AUTONOMOUS SYSTEMS - SELF-ORGANIZATION, MANAGEMENT, AND CONTROL, 2008, : 119 - 126
  • [39] Enhancing Policy Development Through Actor-Based Simulation
    Klabbers, Jan
    [J]. GAMING, SIMULATIONS, AND SOCIETY, 2005, : 249 - 258
  • [40] Introduction to stochastic actor-based models for network dynamics
    Snijders, Tom A. B.
    van de Bunt, Gerhard G.
    Steglich, Christian E. G.
    [J]. SOCIAL NETWORKS, 2010, 32 (01) : 44 - 60