A Templated C++ Interface for isl
Sven Verdoolaege, Zinenko, Kudlur et al. · Zenodo (CERN European Organization for Nuclear Research) · 2021
Polyhedral libraries typically support only a very limited collection of types for representing objects, corresponding to broad mathematical classes such as sets, binary relations and functions. Software built on top of these libraries, on the other hand, needs to deal with a plethora of different kinds of objects such as instance sets, access relations and dependence relations. Conceptually, these different kinds of objects can only be combined in very specific ways, but they are all mapped to the same limited collection of types, so that inconsistent combinations can only be detected at run time, if at all. This paper introduces a new templated C++ interface for isl that offers more fine-grained and application-specific types of objects, allowing inconsistencies in use to be detected at compile time, including some that cannot be detected at run time. This makes it easier to understand and correctly write polyhedral code.
Cited by 0 works. doi:10.5281/zenodo.6670305