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 条
  • [21] Fast Parallel Connected Components Algorithms on GPUs
    Cong, Guojing
    Muzio, Paul
    EURO-PAR 2014: PARALLEL PROCESSING WORKSHOPS, PT I, 2014, 8805 : 153 - 164
  • [22] Accelerating Partitional Algorithms for Flow Cytometry on GPUs
    Espenshade, Jeremy
    Pangborn, Andrew
    von Laszewski, Gregor
    Roberts, Douglas
    Cavenaugh, James S.
    2009 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED PROCESSING WITH APPLICATIONS, PROCEEDINGS, 2009, : 226 - 233
  • [23] Locality optimized unstructured mesh algorithms on GPUs
    Sulyok, Andras Attila
    Balogh, Gabor Daniel
    Reguly, Istvan Z.
    Mudalige, Gihan R.
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2019, 134 : 50 - 64
  • [24] Meerkat: A Framework for Dynamic Graph Algorithms on GPUs
    Concessao, Kevin Jude
    Cheramangalath, Unnikrishnan
    Dev, Ricky
    Nasre, Rupesh
    INTERNATIONAL JOURNAL OF PARALLEL PROGRAMMING, 2024, 52 (5-6) : 400 - 453
  • [25] Accelerating SSL with GPUs
    Jang, Keon
    Han, Sangjin
    Han, Seungyeop
    Moon, Sue
    Park, KyoungSoo
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2010, 40 (04) : 437 - 438
  • [26] Accelerating SSL with GPUs
    Jang, Keon
    Han, Sangjin
    Han, Seungyeop
    Moon, Sue
    Park, KyoungSoo
    ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2011, 41 (01) : 135 - 136
  • [27] Performance Optimization of Object Tracking Algorithms in OpenCV on GPUs
    Song, Jaehyun
    Jeong, Hwanjin
    Jeong, Jinkyu
    APPLIED SCIENCES-BASEL, 2022, 12 (15):
  • [28] Distributed Memory Graph Coloring Algorithms for Multiple GPUs
    Bogle, Ian
    Boman, Erik G.
    Devine, Karen
    Rajamanickam, Sivasankaran
    Slota, George M.
    PROCEEDINGS OF IA3 2020: 2020 IEEE/ACM 10TH WORKSHOP ON IRREGULAR APPLICATIONS: ARCHITECTURES AND ALGORITHMS (IA3), 2020, : 54 - 62
  • [29] Efficient Strategies for Graph Pattern Mining Algorithms on GPUs
    Ferraz, Samuel
    Dias, Vinicius
    Teixeira, Carlos H. C.
    Teodoro, George
    Meira Jr, Wagner
    2022 IEEE 34TH INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING (SBAC-PAD 2022), 2022, : 110 - 119
  • [30] Accelerating Elliptic Curve Digital Signature Algorithms on GPUs
    Feng, Zonghao
    Xie, Qipeng
    Luo, Qiong
    Chen, Yujie
    Li, Haoxuan
    Li, Huizhong
    Yan, Qiang
    SC22: INTERNATIONAL CONFERENCE FOR HIGH PERFORMANCE COMPUTING, NETWORKING, STORAGE AND ANALYSIS, 2022,