OpenMP Advisor
Alok Mishra, Abid M. Malik, Meifeng Lin, Barbara Chapman

TL;DR
OpenMP Advisor is a novel compiler tool that uses machine learning to predict optimal code variants for offloading to GPUs, aiding portability across heterogeneous architectures in HPC.
Contribution
It introduces a machine learning-based approach for predicting the best code variants for OpenMP offloading, enhancing portability and performance prediction.
Findings
Successfully generated code for seven architectures.
Correctly predicted top ten code variants for each application.
Assists in porting legacy HPC codes to heterogeneous environments.
Abstract
With the increasing diversity of heterogeneous architecture in the HPC industry, porting a legacy application to run on different architectures is a tough challenge. In this paper, we present OpenMP Advisor, a first of its kind compiler tool that enables code offloading to a GPU with OpenMP using Machine Learning. Although the tool is currently limited to GPUs, it can be extended to support other OpenMP-capable devices. The tool has two modes: Training mode and Prediction mode. The training mode must be executed on the target hardware. It takes benchmark codes as input, generates and executes every variant of the code that could possibly run on the target device, and then collects data from all of the executed codes to train an ML-based cost model for use in prediction mode. However, in prediction mode the tool does not need any interaction with the target device. It accepts a C code as…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Cloud Computing and Resource Management · Advanced Data Storage Technologies
