Data-driven versus Topology-driven Irregular Computations on GPUs

被引:67
|
作者
Nasre, Rupesh [1 ]
Burtscher, Martin [2 ]
Pingali, Keshav [1 ]
机构
[1] Univ Texas Austin, Austin, TX 78712 USA
[2] Texas State Univ, San Marcos, TX USA
基金
美国国家科学基金会;
关键词
irregular algorithms; data-driven; topology-driven; algorithmic properties; GPGPU; GRAPH ALGORITHMS; PARALLELISM;
D O I
10.1109/IPDPS.2013.28
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Irregular algorithms are algorithms with complex main data structures such as directed and undirected graphs, trees, etc. A useful abstraction for many irregular algorithms is its operator formulation in which the algorithm is viewed as the iterated application of an operator to certain nodes, called active nodes, in the graph. Each operator application, called an activity, usually touches only a small part of the overall graph, so non-overlapping activities can be performed in parallel. In topology-driven implementations, all nodes are assumed to be active so the operator is applied everywhere in the graph even if there is no work to do at some nodes. In contrast, in data-driven implementations the operator is applied only to nodes at which there might be work to do. Multicore implementations of irregular algorithms are usually data-driven because current multicores only support small numbers of threads and work-efficiency is important. Conversely, many irregular GPU implementations use a topology-driven approach because work inefficiency can be counterbalanced by the large number of GPU threads. In this paper, we study data-driven and topology-driven implementations of six important graph algorithms on GPUs. Our goal is to understand the tradeoffs between these implementations and how to optimize them. We find that data-driven versions are generally faster and scale better despite the cost of maintaining a worklist. However, topology-driven versions can be superior when certain algorithmic properties are exploited to optimize the implementation. These results led us to devise hybrid approaches that combine the two techniques and outperform both of them.
引用
收藏
页码:463 / 474
页数:12
相关论文
共 50 条
  • [31] Data-Driven Additive Manufacturing Constraints for Topology Optimization
    Weiss, Benjamin M.
    Hamel, Joshua M.
    Ganter, Mark A.
    Storti, Duane W.
    PROCEEDINGS OF THE ASME INTERNATIONAL DESIGN ENGINEERING TECHNICAL CONFERENCES AND COMPUTERS AND INFORMATION IN ENGINEERING CONFERENCE, 2018, VOL 2A, 2018,
  • [32] Data-Driven Approach for Inferencing Causality and Network Topology
    Sinha, Subhrajit
    Vaidya, Umesh
    2018 ANNUAL AMERICAN CONTROL CONFERENCE (ACC), 2018, : 436 - 441
  • [33] Data-driven nonlinear constitutive relations for rarefied flow computations
    Wenwen Zhao
    Lijian Jiang
    Shaobo Yao
    Weifang Chen
    Advances in Aerodynamics, 3
  • [34] Data-driven geometry-based topology optimization
    Van-Nam Hoang
    Ngoc-Linh Nguyen
    Dat Q. Tran
    Quang-Viet Vu
    H. Nguyen-Xuan
    Structural and Multidisciplinary Optimization, 2022, 65
  • [35] Data-driven nonlinear constitutive relations for rarefied flow computations
    Zhao, Wenwen
    Jiang, Lijian
    Yao, Shaobo
    Chen, Weifang
    ADVANCES IN AERODYNAMICS, 2021, 3 (01)
  • [36] Dynamic Data-Driven SAR Image Reconstruction Using Multiple GPUs
    Wijayasiri, Adeesha
    Banerjee, Tania
    Ranka, Sanjay
    Sahni, Sartaj
    Schmalz, Mark
    IEEE JOURNAL OF SELECTED TOPICS IN APPLIED EARTH OBSERVATIONS AND REMOTE SENSING, 2018, 11 (11) : 4326 - 4338
  • [37] Data-driven Mixed Precision Sparse Matrix Vector Multiplication for GPUs
    Ahmad, Khalid
    Sundar, Hari
    Hall, Mary
    ACM TRANSACTIONS ON ARCHITECTURE AND CODE OPTIMIZATION, 2019, 16 (04)
  • [38] Topology-driven spatial organization of ring polymers under confinement
    Mitra, Debarshi
    Pande, Shreerang
    Chatterji, Apratim
    PHYSICAL REVIEW E, 2022, 106 (05)
  • [40] Topology-Driven Trajectory Synthesis with an Example on Retinal Cell Motions
    Gu, Chen
    Guibas, Leonidas
    Kerber, Michael
    ALGORITHMS IN BIOINFORMATICS, 2014, 8701 : 326 - 339