INSPIRE: the insieme parallel intermediate representation

  • Authors:
  • Herbert Jordan;Simone Pellegrini;Peter Thoman;Klaus Kofler;Thomas Fahringer

  • Affiliations:
  • Institute of Computer Science / University of Innsbruck, Innsbruck, Austria;Institute of Computer Science / University of Innsbruck, Innsbruck, Austria;Institute of Computer Science / University of Innsbruck, Innsbruck, Austria;Institute of Computer Science / University of Innsbruck, Innsbruck, Austria;Institute of Computer Science / University of Innsbruck, Innsbruck, Austria

  • Venue:
  • PACT '13 Proceedings of the 22nd international conference on Parallel architectures and compilation techniques
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Programming standards like OpenMP, OpenCL and MPI are frequently considered programming languages for developing parallel applications for their respective kind of architecture. Nevertheless, compilers treat them like ordinary APIs utilized by an otherwise sequential host language. Their parallel control flow remains hidden within opaque runtime library calls which are embedded within a sequential intermediate representation lacking the concepts of parallelism. Consequently, the tuning and coordination of parallelism is clearly beyond the scope of conventional optimizing compilers and hence left to the programmer or the runtime system. The main objective of the Insieme compiler is to overcome this limitation by utilizing INSPIRE, a unified, parallel, high-level intermediate representation. Instead of mapping parallel constructs and APIs to external routines, their behavior is modeled explicitly using a unified and fixed set of parallel language constructs. Making the parallel control flow accessible to the compiler lays the foundation for the development of reusable, static and dynamic analyses and transformations bridging the gap between a variety of parallel paradigms. Within this paper we describe the structure of INSPIRE and elaborate the considerations which influenced its design. Furthermore, we demonstrate its expressiveness by illustrating the encoding of a variety of parallel language constructs and we evaluate its ability to preserve performance relevant aspects of input codes.