Multigraph learning for parallelism discovery in sequential programs
Authors:
- 13 February 2023
- journal article
- research article
- Published by Wiley in Concurrency and Computation: Practice and Experience
- Vol. 35 (9)
Abstract
Summary: Parallelization is an optimization technique that is playing an increasingly vital role in software applications. Discovering the potential parallelism in sequential programs is of primary importance for parallelization. To this end, various tools have been created to obtain parallelizable targets by analyzing the dependencies in sequential programs. However, the majority are constructed based on manually designed dependence analysis rules. Consequently, they must follow some constraints, which limit the scope of their program analysis capability. Furthermore, constructing a dependency analysis rule is a complicated and highly sophisticated endeavor. In this study, we exploit the fact that neural network models can learn the potential features of programs to tackle the parallelism discovery task in an end‐to‐end manner. Specifically, we developed a multigraph learning architecture on top of multiple abstract code representations in a complementary manner. In the architecture, we equip code representations with different neural network models in a targeted manner, including a deep convolutional neural network for analyzing both control and data flows and a novel neural network for learning the abstract syntax trees. Experimental results obtained on a common parallelism discovery dataset indicate that the developed multigraph learning architecture can learn potential parallelism patterns in sequential programs with high accuracy and efficiency.Keywords
Funding Information
- National Key Research and Development Program of China (2017YFB0202901, 2017YFB0202905)
This publication has 33 references indexed in Scilit:
- Weakly Supervised Multi-Graph Learning for Robust Image RerankingIEEE Transactions on Multimedia, 2014
- Learning Phrase Representations using RNN Encoder–Decoder for Statistical Machine Translation2014
- POLLY — PERFORMING POLYHEDRAL OPTIMIZATIONS ON A LOW-LEVEL INTERMEDIATE REPRESENTATIONParallel Processing Letters, 2012
- Profiling Data-Dependence to Assist Parallelization: Framework, Scope, and Optimization2012
- Decoupling algorithms from schedules for easy optimization of image processing pipelinesACM Transactions on Graphics, 2012
- Using graph-based program characterization for predictive modeling2012
- Quantifying the Potential Task-Based Dataflow Parallelism in MPI ApplicationsLecture Notes in Computer Science, 2011
- Unified Video Annotation via Multigraph LearningIEEE Transactions on Circuits and Systems for Video Technology, 2009
- Efficiently computing static single assignment form and the control dependence graphACM Transactions on Programming Languages and Systems, 1991
- The program dependence graph and its use in optimizationACM Transactions on Programming Languages and Systems, 1987