Configuring program parallelism and selecting optimal compiler options according to the underlying platform architecture is a difficult task. Tipically, this task is either assigned to the programmer or done by a standard one-fits-all policy generated by the compiler or runtime system. A runtime selection of the best configuration requires the insertion of a lot of glue code for profiling and runtime selection. This represents a programming wall for application developers. This paper presents a structured approach, called SOCRATES, based on an aspect-oriented language (LARA) and a runtime autotuner (mARGOt) to mitigate this problem. LARA has been used to hide the glue code insertion, thus separating the pure functional application description from extra-functional requirements. mARGOT has been used for the automatic selection of the best configuration according to the runtime evolution of the application.1
SOCRATES - A seamless online compiler and system runtime autotuning framework for energy-aware applications
Gadioli, Davide;Vitali, Emanuele;Ashouri, Amir H.;Palermo, Gianluca;Silvano, Cristina
2018-01-01
Abstract
Configuring program parallelism and selecting optimal compiler options according to the underlying platform architecture is a difficult task. Tipically, this task is either assigned to the programmer or done by a standard one-fits-all policy generated by the compiler or runtime system. A runtime selection of the best configuration requires the insertion of a lot of glue code for profiling and runtime selection. This represents a programming wall for application developers. This paper presents a structured approach, called SOCRATES, based on an aspect-oriented language (LARA) and a runtime autotuner (mARGOt) to mitigate this problem. LARA has been used to hide the glue code insertion, thus separating the pure functional application description from extra-functional requirements. mARGOT has been used for the automatic selection of the best configuration according to the runtime evolution of the application.1File | Dimensione | Formato | |
---|---|---|---|
socrates-public.pdf
accesso aperto
Descrizione: Draft
:
Post-Print (DRAFT o Author’s Accepted Manuscript-AAM)
Dimensione
342.75 kB
Formato
Adobe PDF
|
342.75 kB | Adobe PDF | Visualizza/Apri |
08342183.pdf
Accesso riservato
Descrizione: Published version
:
Publisher’s version
Dimensione
246.31 kB
Formato
Adobe PDF
|
246.31 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.