Skip navigation
Please use this identifier to cite or link to this item: http://arks.princeton.edu/ark:/88435/dsp01mw22v8855
Title: Transpilation Utilizing Language-agnostic IR and Interactivity for Parallelization
Authors: Tan, Zujun
Advisors: August, David D
Contributors: Computer Science Department
Keywords: Automatic Parallelization
Compiler
High Performance Computing
Subjects: Computer science
Issue Date: 2024
Publisher: Princeton, NJ : Princeton University
Abstract: Migrating codes between architectures is difficult because different execution models require different types of parallelism for optimal performance. Previous approaches like libraries or source-level tools generate correct and natural-looking syntax for the new parallel model, but require the programmer to entirely bear the burden of performance engineering. Recent approaches in the compiler intermediate representation (IR) level can automate some performance engineering at the expense of readability of the generated parallel code. Both approaches leave performance on the table. Even with manual rewriting, source-level tools will miss out on performance-enabling compiler optimizations and pure compiler-level tools will neglect expert-level tuning and parallelization techniques. This paper introduces Tulip, a framework that combines the best of compiler and programmer-level program rewriting. Tulip first transpiles parallel programs in a compiler IR, enabling it to automatically optimize and retarget parallelism to match the target platform. It will then generate natural source code in a high-level parallel programming language (OpenMP) that can be interactively optimized and tuned with programmer intervention. For 19 Polybench benchmarks, Tulip-generated OpenMP-CUDA offloading programs perform 14% faster than the original sources on NVIDIA GPUs. Moreover, transpilation to CPU leads to 2.9× speedup over best state-of-the-art results.
URI: http://arks.princeton.edu/ark:/88435/dsp01mw22v8855
Type of Material: Academic dissertations (Ph.D.)
Language: en
Appears in Collections:Computer Science

Files in This Item:
File Description SizeFormat 
Tan_princeton_0181D_14928.pdf2.13 MBAdobe PDFView/Download


Items in Dataspace are protected by copyright, with all rights reserved, unless otherwise indicated.

OSZAR »