Morph Algorithms on GPUs

被引:54
|
作者
Nasre, Rupesh [1 ]
Burtscher, Martin [2 ]
Pingali, Keshav [1 ,3 ]
机构
[1] Univ Texas Austin, Inst Computat Engn & Sci, Austin, TX 78712 USA
[2] SW Texas State Univ, Dept Comp Sci, San Marcos, TX 78666 USA
[3] Univ Texas Austin, Dept Comp Sci, Austin, TX 78712 USA
基金
美国国家科学基金会;
关键词
Algorithms; Languages; Performance; Morph Algorithms; Graph Algorithms; Irregular Programs; GPU; CUDA; Delaunay Mesh Refinement; Survey Propagation; Minimum Spanning Tree; Boruvka; Points-to Analysis; GRAPH ALGORITHMS; PARALLELISM; CUDA;
D O I
10.1145/2517327.2442531
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
There is growing interest in using GPUs to accelerate graph algorithms such as breadth-first search, computing page-ranks, and finding shortest paths. However, these algorithms do not modify the graph structure, so their implementation is relatively easy compared to general graph algorithms like mesh generation and refinement, which morph the underlying graph in non-trivial ways by adding and removing nodes and edges. We know relatively little about how to implement morph algorithms efficiently on GPUs. In this paper, we present and study four morph algorithms: (i) a computational geometry algorithm called Delaunay Mesh Refinement (DMR), (ii) an approximate SAT solver called Survey Propagation (SP), (iii) a compiler analysis called Points-to Analysis (PTA), and (iv) Boruvka's Minimum Spanning Tree algorithm (MST). Each of these algorithms modifies the graph data structure in different ways and thus poses interesting challenges. We overcome these challenges using algorithmic and GPU-specific optimizations. We propose efficient techniques to perform concurrent subgraph addition, subgraph deletion, conflict detection and several optimizations to improve the scalability of morph algorithms. For an input mesh with 10 million triangles, our DMR code achieves an 80x speedup over the highly optimized serial Triangle program and a 2.3x speedup over a multicore implementation running with 48 threads. Our SP code is 3x faster than a multicore implementation with 48 threads on an input with 1 million literals. The PTA implementation is able to analyze six SPEC 2000 benchmark programs in just 74 milliseconds, achieving a geometric mean speedup of 9.3x over a 48-thread multicore version. Our MST code is slower than a multicore version with 48 threads for sparse graphs but significantly faster for denser graphs. This work provides several insights into how other morph algorithms can be efficiently implemented on GPUs.
引用
收藏
页码:147 / 156
页数:10
相关论文
共 50 条
  • [1] GPUs as an Opportunity for Offloading Garbage Collection
    Maas, Martin
    Reames, Philip
    Morlan, Jeffrey
    Asanovic, Krste
    Joseph, Anthony D.
    Kubiatowicz, John
    ACM SIGPLAN NOTICES, 2012, 47 (11) : 25 - 36
  • [2] Accelerating Iris Recognition Algorithms on GPUs
    Sakr, Fatma Zaky
    Taher, Mohamed
    El-Bialy, Ahmed M.
    Wahba, Ayman M.
    2012 CAIRO INTERNATIONAL BIOMEDICAL ENGINEERING CONFERENCE (CIBEC), 2012, : 73 - 76
  • [3] Comparison of Parallelisation Approaches, Languages, and Compilers for Unstructured Mesh Algorithms on GPUs
    Balogh, G. D.
    Reguly, I. Z.
    Mudalige, G. R.
    HIGH PERFORMANCE COMPUTING SYSTEMS: PERFORMANCE MODELING, BENCHMARKING, AND SIMULATION (PMBS 2017), 2018, 10724 : 22 - 43
  • [4] Accelerating Scientific Algorithms in Array Databases with GPUs
    Marcin, Simon
    Csillaghy, Andre
    2017 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2017, : 2579 - 2587
  • [5] Scalable and Performant Graph Processing on GPUs Using Approximate Computing
    Singh, Somesh
    Nasre, Rupesh
    IEEE TRANSACTIONS ON MULTI-SCALE COMPUTING SYSTEMS, 2018, 4 (03): : 190 - 203
  • [6] Design and Performance Evaluation of Image Processing Algorithms on GPUs
    Park, In Kyu
    Singhal, Nitin
    Lee, Man Hee
    Cho, Sungdae
    Kim, Chris W.
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2011, 22 (01) : 91 - 104
  • [7] Join Algorithms on GPUs: A Revisit After Seven Years
    Rui, Ran
    Li, Hao
    Tu, Yi-Cheng
    PROCEEDINGS 2015 IEEE INTERNATIONAL CONFERENCE ON BIG DATA, 2015, : 2541 - 2550
  • [8] Efficient Algorithms for the Summed Area Tables Primitive on GPUs
    Chen, Peng
    Wahib, Mohamed
    Takizawa, Shinichiro
    Takano, Ryousei
    Matsuoka, Satoshi
    2018 IEEE INTERNATIONAL CONFERENCE ON CLUSTER COMPUTING (CLUSTER), 2018, : 482 - 493
  • [9] Evaluating Graph Coloring on GPUs
    Grosset, A. V. Pascal
    Zhu, Peihong
    Liu, Shusen
    Venkatasubramanian, Suresh
    Hall, Mary
    ACM SIGPLAN NOTICES, 2011, 46 (08) : 297 - 298
  • [10] An efficient multi-algorithms sparse linear solver for GPUs
    Jost, Thomas
    Contassot-Vivier, Sylvain
    Vialle, Stephane
    PARALLEL COMPUTING: FROM MULTICORES AND GPU'S TO PETASCALE, 2010, 19 : 546 - 553