Towards parallelism detection of sequential programs with graph neural network

被引:5
|
作者
Shen, Yuanyuan [1 ]
Peng, Manman [1 ]
Wang, Shiling [1 ]
Wu, Qiang [1 ]
机构
[1] Hunan Univ, Coll Comp Sci & Elect Engn, Changsha 410082, Hunan, Peoples R China
关键词
Parallel processing technology; Parallelism detection; Graph neural network; Dataset; DATA-DEPENDENCE;
D O I
10.1016/j.future.2021.07.001
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Development of the parallel processing technology is necessary to solve problems created by programs with complex structures that are computation- and data-intensive. In the parallelization process, the detection of parallelism is an important task. Automatic parallelism analysis tools help programmers in finding parallelism. However, these tools have limitations in analyzing complex programs. Herein, we propose a data-driven method that can be applied to parallelism detection. The proposed framework combines contextual flow graphs and a deep graph convolution neural network, which leverages the latest and most popular techniques for code embedding and graph classification. Further, we present a novel generator to solve the problem of existing dataset inadequacies. We use this generator to build a generic dataset for parallelism detection. The experimental results of our framework using the generated dataset demonstrate that using a graph representation of the code can capture domain-specific information, and our framework can accurately detect potential parallelism in sequential programs. This framework will enable the exploration of new tools to address the parallelism detection problem. (C) 2021 Elsevier B.V. All rights reserved.
引用
收藏
页码:515 / 525
页数:11
相关论文
共 50 条
  • [1] THEORY AND PRACTICE OF PARALLELISM DETECTION IN SEQUENTIAL PROGRAMS
    VOEVODIN, VV
    [J]. PROGRAMMING AND COMPUTER SOFTWARE, 1992, 18 (03) : 110 - 121
  • [2] LINEAR TIME DETECTION OF INHERENT PARALLELISM IN SEQUENTIAL PROGRAMS
    BIRD, PL
    [J]. COMPUTER PHYSICS COMMUNICATIONS, 1985, 37 (1-3) : 69 - 76
  • [3] Towards Differential Privacy in Sequential Recommendation: A Noisy Graph Neural Network Approach
    Hu, Wentao
    Fang, Hui
    [J]. ACM TRANSACTIONS ON KNOWLEDGE DISCOVERY FROM DATA, 2024, 18 (05)
  • [4] Discovery of Potential Parallelism in Sequential Programs
    Li, Zhen
    Jannesari, Ali
    Wolf, Felix
    [J]. 2013 42ND ANNUAL INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING (ICPP), 2013, : 1004 - 1013
  • [5] Visualizing Potential Parallelism in Sequential Programs
    Price, Graham D.
    Giacomoni, John
    Vachharajani, Manish
    [J]. PACT'08: PROCEEDINGS OF THE SEVENTEENTH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 2008, : 82 - 90
  • [6] A Sequential Graph Neural Network for Short Text Classification
    Zhao, Ke
    Huang, Lan
    Song, Rui
    Shen, Qiang
    Xu, Hao
    [J]. ALGORITHMS, 2021, 14 (12)
  • [7] Inherent parallelism and speedup estimation of sequential programs
    Kalyur, Sesha
    Nagaraja, G.S.
    [J]. Annals of Emerging Technologies in Computing, 2021, 5 (02) : 62 - 77
  • [8] Multigraph learning for parallelism discovery in sequential programs
    Shen, Yuanyuan
    Peng, Manman
    Wu, Qiang
    Xie, Guoqi
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2023, 35 (09):
  • [9] Adding parallelism to sequential programs - a combined method
    Daszczuk, Wiktor B.
    Czejdo, Denny B.
    Grzeskowiak, Wojciech
    [J]. INTERNATIONAL JOURNAL OF ELECTRONICS AND TELECOMMUNICATIONS, 2024, 70 (01) : 135 - 144
  • [10] Network Anomaly Detection Using a Graph Neural Network
    Kisanga, Patrice
    Woungang, Isaac
    Traore, Issa
    Carvalho, Glaucio H. S.
    [J]. 2023 INTERNATIONAL CONFERENCE ON COMPUTING, NETWORKING AND COMMUNICATIONS, ICNC, 2023, : 61 - 65