A Templated C++ Interface for isl
Authors/Creators
- 1. Cerebras Systems
- 2. Oleksandr
- 3. Manjunath
- 4. Ron
- 5. Tianjiao
- 6. Harinath
Description
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.