Balancing energy efficiency and high performance in embedded systems requires fine-tuning hardware and software components to co-optimize their interaction. In this work, we address the automated optimization of memory usage through a compiler toolchain that leverages DMA-aware precision tuning and mathematical function memorization. The proposed solution extends the LLVM infrastructure, employing the TAFFO plugins for precision tuning, with the SeTHeT extension for DMA-aware precision tuning and LuTHeT for automated, DMA-aware mathematical function memorization. We performed an experimental assessment on hero, a heterogeneous platform employing RISC-v cores as a parallel accelerator. Our solution enables speedups ranging from 1.5× to 51.1× on AxBench benchmarks that employ trigonometrical functions and 4.23-48.4× on PolyBench benchmarks over the baseline hero platform.

Synergistic Memory Optimisations: Precision Tuning in Heterogeneous Memory Hierarchies

Magnani, Gabriele;Cattaneo, Daniele;Denisov, Lev;Agosta, Giovanni;Cherubin, Stefano
2025-01-01

Abstract

Balancing energy efficiency and high performance in embedded systems requires fine-tuning hardware and software components to co-optimize their interaction. In this work, we address the automated optimization of memory usage through a compiler toolchain that leverages DMA-aware precision tuning and mathematical function memorization. The proposed solution extends the LLVM infrastructure, employing the TAFFO plugins for precision tuning, with the SeTHeT extension for DMA-aware precision tuning and LuTHeT for automated, DMA-aware mathematical function memorization. We performed an experimental assessment on hero, a heterogeneous platform employing RISC-v cores as a parallel accelerator. Our solution enables speedups ranging from 1.5× to 51.1× on AxBench benchmarks that employ trigonometrical functions and 4.23-48.4× on PolyBench benchmarks over the baseline hero platform.
2025
approximate computing
Computer architecture
precision tuning
RISC-V
File in questo prodotto:
File Dimensione Formato  
Synergistic_memory_optimisations_precision_tuning_in_heterogeneous_memory_hierarchies.pdf

accesso aperto

: Post-Print (DRAFT o Author’s Accepted Manuscript-AAM)
Dimensione 8.38 MB
Formato Adobe PDF
8.38 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11311/1295681
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact