dOCAL: high-level distributed programming with OpenCL and CUDA

被引:6
|
作者
Rasch, Ari [1 ]
Bigge, Julian [1 ]
Wrodarczyk, Martin [1 ]
Schulze, Richard [1 ]
Gorlatch, Sergei [1 ]
机构
[1] Univ Munster, Dept Math & Comp Sci, Munster, Germany
来源
JOURNAL OF SUPERCOMPUTING | 2020年 / 76卷 / 07期
关键词
OpenCL; CUDA; Host code; Distributed system; Heterogenous system; Interoperability; Data transfer optimization;
D O I
10.1007/s11227-019-02829-2
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
In the state-of-the-art parallel programming approaches OpenCL and CUDA, so-called host code is required for program's execution. Efficiently implementing host code is often a cumbersome task, especially when executing OpenCL and CUDA programs on systems with multiple nodes, each comprising different devices, e.g., multi-core CPU and graphics processing units; the programmer is responsible for explicitly managing node's and device's memory, synchronizing computations with data transfers between devices of potentially different nodes and for optimizing data transfers between devices' memories and nodes' main memories, e.g., by using pinned main memory for accelerating data transfers and overlapping the transfers with computations. We develop distributed OpenCL/CUDA abstraction layer (dOCAL)-a novel high-level C++ library that simplifies the development of host code. dOCAL combines major advantages over the state-of-the-art high-level approaches: (1) it simplifies implementing both OpenCL and CUDA host code by providing a simple-to-use, high-level abstraction API; (2) it supports executing arbitrary OpenCL and CUDA programs; (3) it allows conveniently targeting the devices of different nodes by automatically managing node-to-node communications; (4) it simplifies implementing data transfer optimizations by providing different, specially allocated memory regions, e.g., pinned main memory for overlapping data transfers with computations; (5) it optimizes memory management by automatically avoiding unnecessary data transfers; (6) it enables interoperability between OpenCL and CUDA host code for systems with devices from different vendors. Our experiments show that dOCAL significantly simplifies the development of host code for heterogeneous and distributed systems, with a low runtime overhead.
引用
收藏
页码:5117 / 5138
页数:22
相关论文
共 50 条
  • [1] dOCAL: high-level distributed programming with OpenCL and CUDA
    Ari Rasch
    Julian Bigge
    Martin Wrodarczyk
    Richard Schulze
    Sergei Gorlatch
    The Journal of Supercomputing, 2020, 76 : 5117 - 5138
  • [2] HIGH-LEVEL PROGRAMMING FOR DISTRIBUTED COMPUTING
    FELDMAN, JA
    COMMUNICATIONS OF THE ACM, 1979, 22 (06) : 353 - 368
  • [3] SkelCL: Enhancing OpenCL for High-Level Programming of Multi-GPU Systems
    Steuwer, Michel
    Gorlatch, Sergei
    PARALLEL COMPUTING TECHNOLOGIES (PACT 2013), 2013, 7979 : 258 - 272
  • [4] NIL: A high-level language for distributed systems programming
    Parr, FN
    Strom, RE
    IBM SYSTEMS JOURNAL, 1999, 38 (2-3) : 181 - 197
  • [5] Towards high-level programming for distributed problem solving
    Kelly, Ryan F.
    Pearce, Adrian R.
    2006 IEEE/WIC/ACM INTERNATIONAL CONFERENCE ON INTELLIGENT AGENT TECHNOLOGY, PROCEEDINGS, 2006, : 490 - +
  • [6] A High-Level Programming Approach for Distributed Systems with Accelerators
    Steuwer, Michel
    Kegel, Philipp
    Gorlatch, Sergei
    NEW TRENDS IN SOFTWARE METHODOLOGIES, TOOLS AND TECHNIQUES, 2012, 246 : 430 - 441
  • [7] A high-level programming environment for distributed memory architectures
    Giloi, WK
    Pohl, HW
    Schramm, A
    PARALLEL COMPUTING TECHNOLOGIES, 1999, 1662 : 217 - 222
  • [8] High-Level Programming Abstractions for Distributed Graph Processing
    Kalavri, Vasiliki
    Vlassov, Vladimir
    Haridi, Seif
    IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, 2018, 30 (02) : 305 - 324
  • [9] NIL - A HIGH-LEVEL LANGUAGE FOR DISTRIBUTED SYSTEMS PROGRAMMING
    PARR, FN
    STROM, RE
    IBM SYSTEMS JOURNAL, 1983, 22 (1-2) : 111 - 127
  • [10] A high-level symbolic language for distributed Web programming
    Visser, CT
    Eliëns, A
    IC'2000: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INTERNET COMPUTING, 2000, : 93 - 97