Documents Associated With Scientific Events Year : 2023

OptiTrust: an Interactive Optimization Framework

Abstract

We present OptiTrust, an interactive framework for optimizing general-purpose C code via series of programmer-guided, source-to-source transformations. Optimization steps are described in transformation scripts, expressed as OCaml programs. At every step, the programmer may interactively visualize the effect of the transformation as the difference between two pieces of human-readable C code. OptiTrust has been previously employed to optimize numerical simulation code. In this work, we showcase how to use OptiTrust to optimize matrix multiplication. We compare against TVM, which also relies on programmer guidance, but which restricts the input language and lacks easily readable feedback.
Fichier principal
Vignette du fichier
main.pdf (428.26 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-04053772 , version 1 (31-03-2023)

Identifiers

  • HAL Id : hal-04053772 , version 1

Cite

Thomas Koehler, Arthur Charguéraud, Begatim Bytyqi, Damien Rouhling, Yann A Barsamian. OptiTrust: an Interactive Optimization Framework. ARRAY 2023 - Workshop - PLDI 2023, Jun 2023, Orlando (Florida), United States. . ⟨hal-04053772⟩
375 View
187 Download

Share

More