Expressing and Applying C++ Code Transformations for the HDF5 API Through a DSL

Abstract : Hierarchical Data Format (HDF5) is a popular binary storage solution in high performance computing (HPC) and other scientific fields. It has bindings for many popular programming languages, including C++, which is widely used in the HPC field. Its C++ API requires mapping of the native C++ data types to types native to the HDF5 API. This task can be error prone, especially when working with complex data structures, which are usually stored using HDF5 compound data types. Due to the lack of a comprehensive reflection mechanism in C++, the mapping code for data manipulation has to be hand-written for each compound type separately. This approach is vulnerable to bugs and mistakes, which can be eliminated by using an automated code generation phase. In this paper we present an approach implemented in the LARA language and supported by the tool Clava, which allows us to automate the generation of the HDF5 data access code for complex data structures in C++.
Type de document :
Communication dans un congrès
Khalid Saeed; Władysław Homenda; Rituparna Chaki. 16th IFIP International Conference on Computer Information Systems and Industrial Management (CISIM), Jun 2017, Bialystok, Poland. Springer International Publishing, Lecture Notes in Computer Science, LNCS-10244, pp.303-314, 2017, Computer Information Systems and Industrial Management. 〈10.1007/978-3-319-59105-6_26〉
Liste complète des métadonnées

Littérature citée [12 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01656228
Contributeur : Hal Ifip <>
Soumis le : mardi 5 décembre 2017 - 14:57:39
Dernière modification le : mercredi 6 décembre 2017 - 01:20:57

Fichier

 Accès restreint
Fichier visible le : 2020-01-01

Connectez-vous pour demander l'accès au fichier

Licence


Distributed under a Creative Commons Paternité 4.0 International License

Identifiants

Citation

Martin Golasowski, João Bispo, Jan Martinovič, Kateřina Slaninová, João Cardoso. Expressing and Applying C++ Code Transformations for the HDF5 API Through a DSL. Khalid Saeed; Władysław Homenda; Rituparna Chaki. 16th IFIP International Conference on Computer Information Systems and Industrial Management (CISIM), Jun 2017, Bialystok, Poland. Springer International Publishing, Lecture Notes in Computer Science, LNCS-10244, pp.303-314, 2017, Computer Information Systems and Industrial Management. 〈10.1007/978-3-319-59105-6_26〉. 〈hal-01656228〉

Partager

Métriques

Consultations de la notice

76