Semi-Automatic Generation of Adaptive Codes - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2017

Semi-Automatic Generation of Adaptive Codes

Résumé

Compiler automatic optimization and parallelization techniques are well suited for some classes of simulation or signal processing applications, however they usually don't take into account domain-specific knowledge nor the possibility to change or to remove some computations to achieve " good enough " results. Quite differently, production simulation and signal processing codes have adaptive capabilities: they are designed to compute precise results only where it matters if the complete problem is not tractable or if computation time must be short. In this paper, we present a new way to provide adaptive capabilities to compute-intensive codes automatically. It relies on domain-specific knowledge provided through special pragmas by the programmer in the input code and on polyhedral compilation techniques to continuously regenerate at runtime a code that performs heavy computations only where it matters at every moment. We present a case study on a fluid simulation application where our strategy enables significant computation savings and speedup in the optimized portion of the application while maintaining a good precision, with a minimal effort from the programmer.
Fichier principal
Vignette du fichier
impact-17-semi-automatic-generation-of-adaptive-codes.pdf (505.53 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01655456 , version 1 (04-12-2017)

Identifiants

  • HAL Id : hal-01655456 , version 1

Citer

Maxime Schmitt, César Sabater, Cédric Bastoul. Semi-Automatic Generation of Adaptive Codes. IMPACT 2017 - 7th International Workshop on Polyhedral Compilation Techniques, Jan 2017, Stockholm, Sweden. pp.1-7. ⟨hal-01655456⟩
226 Consultations
106 Téléchargements

Partager

Gmail Facebook X LinkedIn More