Back to search

Iowa State University - Thesis & Dissertation

Performance-portable parallel programming through compiler directives, machine learning, and agentic optimization

Abstract

dc:description.abstract

Modern high-performance computing is increasingly shaped by heterogeneous architectures, where multicore CPUs and accelerators must be programmed effectively to achieve both performance and portability. While programming models such as OpenMP and CUDA provide powerful mechanisms for exploiting these systems, obtaining efficient implementations remains difficult because developers must reason about parallelism, memory movement, synchronization, architecture-specific execution behavior, and compiler support. This dissertation addresses this challenge by studying the full spectrum of performance-oriented parallel programming: from directive-based offload strategies for existing applications, to learning-based shared-memory auto-parallelization, to agentic optimization of native CUDA kernels. The first part of this dissertation investigates OpenMP target offload as a performance-portable programming approach for heterogeneous CPU--GPU systems. Using HPGMG from the SPEChpc benchmark suite as a representative multigrid application, this work evaluates OpenMP 5.0 features such as the loop directive and metadirective, together with profile-guided optimization strategies, across architectures and production compilers. The study demonstrates that careful use of modern OpenMP features can improve both performance and maintainability, achieving substantial speedups on GPU nodes and in host fallback mode while reducing code complexity in key kernels. The second part introduces OMPilot, a domain-specific encoder--decoder transformer for translating sequential C++ code into OpenMP-parallel code. Unlike prompt-based large language model approaches, OMPilot removes the dependence on natural-language instructions and directly learns source-to-source parallelization patterns. It combines masked language modeling, syntax-structure annotation, denoising autoencoding, back translation, and OpenMP-aware weighted loss functions to better capture pragma placement, clause selection, variable scoping, reductions, and other semantics of shared-memory parallelization. To evaluate generated OpenMP code more faithfully, this dissertation also introduces OMPBLEU, a composite metric designed to assess the syntactic and semantic correctness of OpenMP directives beyond surface-level code similarity. The third part presents OptiML, an end-to-end framework for CUDA kernel synthesis and optimization. OptiML combines a Mixture-of-Thoughts generation stage, OptiML-G, with a search-based optimization stage, OptiML-X. Given either natural-language intent or an existing CUDA C++ kernel, OptiML generates or refines CUDA implementations through a compile--test--profile loop. OptiML-X formulates kernel optimization as a hardware-grounded search problem using Monte Carlo Tree Search, correctness tests, Nsight Compute profiling, and an LLM-as-a-Judge to guide multi-step source-level transformations. This enables the system to optimize kernels using measured runtime and profiler-derived bottleneck signals rather than relying solely on one-shot code generation or black-box timing. Together, these contributions show that productive and performant parallel programming requires both programming-model insight and intelligent automation. The OpenMP offload study demonstrates how modern directive features can improve performance portability in real heterogeneous applications. OMPilot shows that domain-specific learning can automate shared-memory parallelization more efficiently and reliably than general-purpose prompting. OptiML extends this automation to accelerator kernels by coupling language-model reasoning with verification, profiling, and search. Collectively, this dissertation advances methods for transforming, generating, and optimizing parallel code for contemporary high-performance computing systems.

Degree

thesis:*
Name thesis:degree_name
Doctor of Philosophy
Level thesis:degree_level
dissertation
Discipline thesis:degree_discipline
Artificial intelligence
Grantor
Iowa State University - Thesis & Dissertation
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Bhattacharjee, Arijit
Advisor dc:contributor.advisor
  • Jannesari, Ali

Subjects

dc:subject × 1

Rights

Language dc:language.iso
en_US

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Iowa State University
Base URL
dr.lib.iastate.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Bhattacharjee, Arijit. Performance-portable parallel programming through compiler directives, machine learning, and agentic optimization. dissertation thesis, Iowa State University - Thesis & Dissertation, 2026. https://doi.org/10.31274/td-20261111-30