A language extension set to generate adaptive versions automatically

A large part of the development effort of compute-intensive applications is devoted to optimization, i.e., achieving the computation within a finite budget of time, space or energy. Given the complexity of modern architectures, writing simulation applications is often a two-step workflow. Firstly, d...

Full description

Bibliographic Details
Main Authors: Schmitt Maxime, Bastoul Cédric, Helluy Philippe
Format: Article
Language:English
Published: EDP Sciences 2018-01-01
Series:Oil & Gas Science and Technology
Online Access:https://doi.org/10.2516/ogst/2018049
id doaj-f2810c053a594010b553c49adc497868
record_format Article
spelling doaj-f2810c053a594010b553c49adc4978682021-02-02T07:53:16ZengEDP SciencesOil & Gas Science and Technology1294-44751953-81892018-01-01735210.2516/ogst/2018049ogst180066A language extension set to generate adaptive versions automaticallySchmitt MaximeBastoul CédricHelluy PhilippeA large part of the development effort of compute-intensive applications is devoted to optimization, i.e., achieving the computation within a finite budget of time, space or energy. Given the complexity of modern architectures, writing simulation applications is often a two-step workflow. Firstly, developers design a sequential program for algorithmic tuning and debugging purposes. Secondly, experts optimize and exploit possible approximations of the original program to scale to the actual problem size. This second step is a tedious, time-consuming and error-prone task. In this paper we investigate language extensions and compiler tools to achieve that task semi-automatically in the context of approximate computing. We identified the semantic and syntactic information necessary for a compiler to automatically handle approximation and adaptive techniques for a particular class of programs. We propose a set of language extensions generic enough to provide the compiler with the useful semantic information when approximation is beneficial. We implemented the compiler infrastructure to exploit these extensions and to automatically generate the adaptively approximated version of a program. We provide an experimental study of the impact and expressiveness of our language extension set on various applications.https://doi.org/10.2516/ogst/2018049
collection DOAJ
language English
format Article
sources DOAJ
author Schmitt Maxime
Bastoul Cédric
Helluy Philippe
spellingShingle Schmitt Maxime
Bastoul Cédric
Helluy Philippe
A language extension set to generate adaptive versions automatically
Oil & Gas Science and Technology
author_facet Schmitt Maxime
Bastoul Cédric
Helluy Philippe
author_sort Schmitt Maxime
title A language extension set to generate adaptive versions automatically
title_short A language extension set to generate adaptive versions automatically
title_full A language extension set to generate adaptive versions automatically
title_fullStr A language extension set to generate adaptive versions automatically
title_full_unstemmed A language extension set to generate adaptive versions automatically
title_sort language extension set to generate adaptive versions automatically
publisher EDP Sciences
series Oil & Gas Science and Technology
issn 1294-4475
1953-8189
publishDate 2018-01-01
description A large part of the development effort of compute-intensive applications is devoted to optimization, i.e., achieving the computation within a finite budget of time, space or energy. Given the complexity of modern architectures, writing simulation applications is often a two-step workflow. Firstly, developers design a sequential program for algorithmic tuning and debugging purposes. Secondly, experts optimize and exploit possible approximations of the original program to scale to the actual problem size. This second step is a tedious, time-consuming and error-prone task. In this paper we investigate language extensions and compiler tools to achieve that task semi-automatically in the context of approximate computing. We identified the semantic and syntactic information necessary for a compiler to automatically handle approximation and adaptive techniques for a particular class of programs. We propose a set of language extensions generic enough to provide the compiler with the useful semantic information when approximation is beneficial. We implemented the compiler infrastructure to exploit these extensions and to automatically generate the adaptively approximated version of a program. We provide an experimental study of the impact and expressiveness of our language extension set on various applications.
url https://doi.org/10.2516/ogst/2018049
work_keys_str_mv AT schmittmaxime alanguageextensionsettogenerateadaptiveversionsautomatically
AT bastoulcedric alanguageextensionsettogenerateadaptiveversionsautomatically
AT helluyphilippe alanguageextensionsettogenerateadaptiveversionsautomatically
AT schmittmaxime languageextensionsettogenerateadaptiveversionsautomatically
AT bastoulcedric languageextensionsettogenerateadaptiveversionsautomatically
AT helluyphilippe languageextensionsettogenerateadaptiveversionsautomatically
_version_ 1724298480757768192