Accéder directement au contenu Accéder directement à la navigation
Communication dans un congrès

A Dynamic to Static DSL Compiler for Image Processing Applications

Abstract : Computer vision is a thriving field of research , and Python is an instrument of choice for developing image processing software applications. Used in conjunction with specialized libraries written in C or C++, performance can be enhanced to match native code. The SMIL library [1] is a new C++ image processing library offering ease of programming with a Python wrapper. However, SMIL applications also have to be executed on embedded platforms such as FPGAs on which a Python interpreter is not available. The generic answer to such an issue is to re-code the original Python applications in C or C++, which will be then optimized for every hardware target, or to try to compile Python into native code using tools such as Cython [2]. The approach taken by the FREIA project [3, 4] is to ease portability of applications written in a DSL embedded in C (the FREIA API) by using specific optimizations such as image expressions evaluation, removal of temporary variables or image tiling. Is it possible for SMIL Python applications to benefit from the FREIA compilation toolchain in order to increase their portability onto specialized hardware targets? We present in this paper (1) a methodology to convert a dynamic DSL into a static one that preserves programmability, (2) a working implementation which takes care of types, memory allocation, polymorphism and API adaptation between SMIL and FREIA, (3) and experimental results on portability and performance.
Liste complète des métadonnées

Littérature citée [22 références]  Voir  Masquer  Télécharger
Contributeur : Claire Medrala <>
Soumis le : mardi 9 août 2016 - 17:47:41
Dernière modification le : mercredi 23 septembre 2020 - 04:26:43
Archivage à long terme le : : jeudi 10 novembre 2016 - 10:29:34


Fichiers produits par l'(les) auteur(s)


  • HAL Id : hal-01352808, version 1


Pierre Guillou, Benoît Pin, Fabien Coelho, François Irigoin. A Dynamic to Static DSL Compiler for Image Processing Applications. 19th Workshop on Compilers for Parallel Computing, Jul 2016, Valladolid, Spain. ⟨hal-01352808⟩



Consultations de la notice


Téléchargements de fichiers