Presentation
A Flang Plugin for Fortran Feature Characterization
DescriptionAs new compute systems are developed, there is still a need to compile Fortran for execution on leading edge systems.
In order to achieve this, compilers are continuously under development.
Though the specification of Fortran is extensive, it is helpful to prioritize the development of key features of desired applications to get to execute them as soon as possible.
Identifying key features largely done through querying software experts, who then manually report on which features key features are present.
This is both time consuming and error prone.
To automate this, we present a compiler plugin to Flang that operates on a program's parse tree representation and detects key features.
We show the result of our tool on four applications.
We show the discrepancies between our tool and the manual characterization of three of the applications, as well as generate a characterization for an application not yet profiled.
In order to achieve this, compilers are continuously under development.
Though the specification of Fortran is extensive, it is helpful to prioritize the development of key features of desired applications to get to execute them as soon as possible.
Identifying key features largely done through querying software experts, who then manually report on which features key features are present.
This is both time consuming and error prone.
To automate this, we present a compiler plugin to Flang that operates on a program's parse tree representation and detects key features.
We show the result of our tool on four applications.
We show the discrepancies between our tool and the manual characterization of three of the applications, as well as generate a characterization for an application not yet profiled.