Abstract
—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.
Original language | English (US) |
---|---|
Pages (from-to) | 221-234 |
Number of pages | 14 |
Journal | IEEE Transactions on Computers |
Volume | 73 |
Issue number | 1 |
DOIs | |
State | Published - Jan 1 2024 |
Externally published | Yes |
Keywords
- Produce-consume task graph
- dynamic control flow graph
- epoch
- memory dependency analysis
- task partitioning
ASJC Scopus subject areas
- Software
- Theoretical Computer Science
- Hardware and Architecture
- Computational Theory and Mathematics
Fingerprint
Dive into the research topics of 'Cyclebite: Extracting Task Graphs From Unstructured Compute-Programs'. Together they form a unique fingerprint.Press/Media
-
New Information Technology Study Findings Have Been Reported by Investigators at Arizona State University (Cyclebite: Extracting Task Graphs From Unstructured Compute-programs)
Shrivastava, A. & Chakrabarti, C.
1/26/24
1 item of Media coverage
Press/Media: Press / Media