arrow
Return

Preserving provability over GPU program optimizations with annotation-aware transformations

delete2025-11-01
delete0
PRE
AI
Ö
Ömer Şakar *
M
Mohsen Safari
M
Marieke Huisman
A
Anton Wijs
DOI:10.1007/s10703-025-00480-7delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
GPU programs are widely used in industry. To obtain the best performance, a typical development process involves the manual or semi-automatic application of optimizations prior to compiling the code. Such optimizations can introduce errors. To avoid the introduction of errors, we can augment GPU programs with (pre- and postcondition-style) annotations to capture functional properties. However, keeping these annotations correct when optimizing GPU programs is labor-intensive and error-prone. This paper presents an approach to automatically apply optimizations to GPU programs while preserving provability by defining annotation-aware transformations. It applies frequently-used GPU optimizations, but besides transforming code, it also transforms the annotations. The approach has been implemented in the Alpinist tool and we evaluate Alpinist in combination with the VerCors program verifier, to automatically apply optimizations to a collection of verified programs and reverify them.
Keywords:
GPU
Optimization
Deductive verification
Annotation-aware
Program transformation

Journal

F
Formal Methods in System Design
IF:
0.8
Papers:
11
Citations:
0

Organization

U
University of Twente
Scholars:
322
Papers: 183
Citations: 2.1W
E
Eindhoven University of Technology
Scholars:
1.6W
Papers: 1.5W
Citations: 2.2W