Modern heterogeneous platforms require compilers capable of choosing the appropriate device for the execution of program portions. This paper presents a machine learning method designed for supporting mapping decisions through the analysis of the program source code represented in LLVM assembly language (IR) for exploiting the advantages offered by this generalised and optimised representation. To evaluate our solution, we trained an LSTM neural network on OpenCL kernels compiled in LLVM-IR and processed with our tokenizer capable of filtering less-informative tokens. We tested the network that reaches an accuracy of 85% in distinguishing the best computational unit.

Francesco Barchi, Gianvito Urgese, Enrico Macii, Andrea Acquaviva (2019). Code Mapping in Heterogeneous Platforms Using Deep Learning and LLVM-IR. USA : ACM [10.1145/3316781.3317789].

Code Mapping in Heterogeneous Platforms Using Deep Learning and LLVM-IR

Francesco Barchi;Andrea Acquaviva
2019

Abstract

Modern heterogeneous platforms require compilers capable of choosing the appropriate device for the execution of program portions. This paper presents a machine learning method designed for supporting mapping decisions through the analysis of the program source code represented in LLVM assembly language (IR) for exploiting the advantages offered by this generalised and optimised representation. To evaluate our solution, we trained an LSTM neural network on OpenCL kernels compiled in LLVM-IR and processed with our tokenizer capable of filtering less-informative tokens. We tested the network that reaches an accuracy of 85% in distinguishing the best computational unit.
2019
DAC conference proceedings
1
6
Francesco Barchi, Gianvito Urgese, Enrico Macii, Andrea Acquaviva (2019). Code Mapping in Heterogeneous Platforms Using Deep Learning and LLVM-IR. USA : ACM [10.1145/3316781.3317789].
Francesco Barchi; Gianvito Urgese; Enrico Macii; Andrea Acquaviva
File in questo prodotto:
Eventuali allegati, non sono esposti

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/11585/781553
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 12
  • ???jsp.display-item.citation.isi??? 10
social impact