arrow
Return

Cyclebite: Extracting Task Graphs From Unstructured Compute-Programs

delete2024-01-01
delete1
delete
OA
AI
B
Benjamin R. Willis *
A
Aviral Shrivastava
J
Joshua Mack
S
Shail Dave
C
Chaitali Chakrabarti
J
John Brunhaver
DOI:10.1109/TC.2023.3327504delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Extracting portable performance in an application requires structuring that program into a data-flow graph of coarse-grained tasks (CGTs). Structuring applications that interconnect multiple external libraries and custom code (i.e., Code From The Wild (CFTW)) is challenging. When experts manually restructure a program, they trivialize the extraction of structure; however, this expertise is not broadly available. Automatic structuring approaches focus on the intersection of hot code and static loops, ignoring the data dependencies between tasks and significantly reducing the scope of analyzeable programs. This work addresses the problem of extracting the data-flow graph of CGTs from CFTW. To that end, we present Cyclebite. Our approach extracts CGTs from unstructured compute-programs by detecting CGT candidates in the simplified Markov Control Graph (MCG), and localizing CGTs in an epoch profile. Additionally, the epoch profile extracts the data dependence between CGTs required to build the data-flow graph of CGTs. Cyclebite demonstrates a robust selectivity for critical CGTs relative to the state-of-the-art (SoA), leading to a potential speedup of 12x on average and thread-scaling of 24x on average compared to modern compiler optimizers. We validate the results of Cyclebite and compare them to two SoA techniques using an input corpus of 25 open-source C/C++ libraries with 2,019 unique execution profiles.
Keywords:
Task analysis
Codes
Optimization
Markov processes
Data mining
DSL
Parallel processing
Produce-consume task graph
memory dependency analysis
task partitioning
dynamic control flow graph
epoch

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.4K
Citations:
9.8K

Organization

A
Arizona State University
Scholars:
2.7W
Papers: 2.5W
Citations: 4.2W
A
arizona state university-tempe
Scholars:
1.5W
Papers: 1.2W
Citations: 13
Cited Papers

Cited Papers

pointcloudset: Efficient Analysis of Large Datasets of Point Clouds Recorded Over Time
err2021-09-28
err0
errOAAI
errThomas Goelles; Birgit Schlager; Stefan Muckenhuber; Sarah Haas; Tobias Hammer
errShare
errSave
errShare
errSave
Svelto: High-Level Synthesis of Multi-Threaded Accelerators for Graph Analytics
err2022-03-01
err14
errOAAI
errMinutoli, Marco; Castellana, Vito Giovanni; Saporetti, Nicola; Devecchi, Stefano; Lattuada, Marco; Fezzardi, Pietro; Tumeo, Antonino; Ferrandi, Fabrizio
errShare
errSave
Commentary: At least eighty percent of brain grey matter is modifiable by physical activity: a review study
err2018-05-08
err0
errOAAI
errIrene Esteban-Cornejo; Andrés Catena; Charles H. Hillman; Arthur F. Kramer; Kirk I. Erickson; Francisco B. Ortega
errShare
errSave
GRAMPS: A Programming Model for Graphics Pipelines
err2009-02-09
err61
PREAI
errSugerman, Jeremy; Fatahalian, Kayvon; Boulos, Solomon; Akeley, Kurt; Hanrahan, Pat
errShare
errSave
Learning to Optimize Halide with Tree Search and Random Programs
err2019-07-12
err147
PREAI
errAdams, Andrew; Ma, Karima; Anderson, Luke; Baghdad, Riyadh; Li, Tzu-Mao; Gharbi, Michael; Steiner, Benoit; Johnson, Steven; Fatahalian, Kayvon; Durand, Fredo; Ragan-Kelley, Jonathan
errShare
errSave
SD3: An Efficient Dynamic Data-Dependence Profiling Mechanism
err2013-12-01
err7
PREAI
errKim, Minjang; Lakshminarayana, Nagesh B.; Kim, Hyesoon; Luk, Chi-Keung
errShare
errSave
researcher View more