Persistent Asynchronous Adaptive Specialization for Generic Array Programming

被引:0
|
作者
Clemens Grelck
Heinrich Wiesinger
机构
[1] University of Amsterdam,
关键词
Generic programming; Array programming; Dynamic compilation; Multi-core computing; Single Assignment C; Persistence;
D O I
暂无
中图分类号
学科分类号
摘要
Generic array programming systematically abstracts from structural array properties such as shape and rank. As usual, generic programming comes at the price of lower runtime performance. The idea of asynchronous adaptive specialization is to exploit parallel computing facilities to reconcile these conflicting objectives through the continuous adaptation of running applications to the ranks and shapes of their arrays. A key parameter for the effectiveness of our approach is the time it takes from requesting a certain specialization until its availability to the running application. We describe the ins and outs of a persistence layer that keeps specialized variants in a repository for future use and thus effectively reduces the average waiting time for re-compilation to nearly zero. A number of critical issues that, among others, stem from the interplay between function specialization and function overloading catch our special attention. We describe the solutions adopted and illustrate the benefits of persistent asynchronous adaptive specialization by a series of experiments.
引用
收藏
页码:164 / 183
页数:19
相关论文
共 50 条
  • [1] Persistent Asynchronous Adaptive Specialization for Generic Array Programming
    Grelck, Clemens
    Wiesinger, Heinrich
    [J]. INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2019, 47 (02) : 164 - 183
  • [2] Asynchronous adaptive optimisation for generic data-parallel array programming
    Grelck, Clemens
    van Deurzen, Tim
    Herhut, Stephan
    Scholz, Sven-Bodo
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2012, 24 (05): : 499 - 516
  • [3] Algorithm specialization in generic programming
    Jaervi, Jaakko
    Gregor, Douglas
    Willcock, Jeremiah
    Lumsdaine, Andrew
    Siek, Jeremy
    [J]. ACM SIGPLAN NOTICES, 2006, 41 (06) : 272 - 282
  • [4] Specialization of Generic Array Accesses After Inlining (System Description)
    Tokuda, Ryohei
    Sumii, Eijiro
    Abe, Akinori
    [J]. ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2017, (241): : 45 - 53
  • [5] Generic specialization
    Wright, M
    [J]. EDN, 2002, 47 (26) : 22 - 22
  • [6] A Generic Reconfigurable Array Specification and Programming Environment (GRASPER)
    Baskaya, Faik
    Anderson, David V.
    Hasler, Paul
    Lim, Sung Kyu
    [J]. 2009 EUROPEAN CONFERENCE ON CIRCUIT THEORY AND DESIGN, VOLS 1 AND 2, 2009, : 619 - 622
  • [7] THE AMADEUS GRT - GENERIC RUNTIME SUPPORT FOR DISTRIBUTED PERSISTENT PROGRAMMING
    CAHILL, V
    BAKER, S
    HORN, C
    STAROVIC, G
    [J]. SIGPLAN NOTICES, 1993, 28 (10): : 144 - 161
  • [8] A functional approach to generic programming using adaptive traversals
    Chadwick, Bryan
    Lieberherr, Karl
    [J]. Higher-Order and Symbolic Computation, 2010, 23 (04) : 433 - 463
  • [9] A generic framework for specialization
    Thiemann, P
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, 1998, 1381 : 267 - 281
  • [10] Generic SoC QR array processor for adaptive beamforming
    Liu, ZH
    McCanny, JV
    Lightbody, G
    Walke, R
    [J]. IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-ANALOG AND DIGITAL SIGNAL PROCESSING, 2003, 50 (04): : 169 - 175