Iowa State University
Advancing parallel programming through program graph representation and unsupervised code translation
Abstract
dc:description.abstractWith the advent of multi-core and many-core systems, developers have increasingly focused on creating parallel programs to harness the potential of this hardware. However, developing parallel programs and high-performance kernels presents a unique set of challenges. Simultaneously, advancements in deep learning (DL) and machine learning (ML) have transformed numerous fields, including software engineering and HPC kernel development. Yet, unlike other domains, applying deep learning models to the HPC field poses distinct difficulties. For example, source code typically exhibits a specific structure, syntax, and semantics, making it challenging to train deep learning models to comprehend these characteristics effectively. Moreover, beyond the general challenges of applying deep learning to understand applications, comprehending parallel applications presents even greater difficulties. These types of applications have unique errors and data-sharing complexities that deep learning models must learn to address. This dissertation presents four studies aimed at enabling deep learning models to better understand parallel and HPC applications. Each study introduces a novel technique to enhance the ability of DL models to comprehend parallel programs. The early chapters mostly focus on the graph representation of parallel programs, with more focus on OpenMP applications. In particular, the first study focuses on how to model OpenMP programs to predict configurations for non-uniform memory Access (NUMA) systems and prefetchers. The second study tries to address limitations in the first study by identifying the flaws that exist in the program representation used in the first study and improving it further. The third study focuses on predicting the runtime of OpenMP applications. In this chapter, an augmented graph representation based on Abstract Syntax Tree (AST) is proposed to predict the runtime of OpenMP kernels. The last study leverages Transformers, and it looks at the problem of parallelization from a different angle. It considers the parallelization problem as a translation task, and an encoder-decoder transformer model is developed to learn how to do this translation in an unsupervised way. The techniques developed in these studies aim to address various challenges associated with applying deep learning models in the HPC domain. They focus on effectively modeling parallel programs and enabling the translation between serial and parallel code.
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- dissertation
- Discipline thesis:degree_discipline
- Computer science
- Department dc:contributor.department
- Department of Computer Science
- Grantor
- Iowa State University
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Tehrani, Ali
- Advisors dc:contributor.advisor
-
- Jannesari, Ali
- Cohen, Myra
- Lutz, Robyn
- Gao, Hongyang
- Basu, Samik
- ORCID dc:identifier.orcid
Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://dr.lib.iastate.edu/handle/20.500.12876/6wBlamyr