• DocumentCode
    451275
  • Title

    Automatic Type-Driven Library Generation for Telescoping Languages

  • Author

    Chauhan, Arun ; McCosh, Cheryl ; Kennedy, Ken ; Hanson, Richard

  • Author_Institution
    Rice University, Houston, TX
  • fYear
    2003
  • fDate
    15-21 Nov. 2003
  • Firstpage
    51
  • Lastpage
    51
  • Abstract
    Telescoping languages is a strategy to automatically generate highly-optimized domain-specific libraries. The key idea is to create specialized variants of library procedures through extensive offline processing. This paper describes a telescoping system, called ARGen, which generates high-performance Fortran or C libraries from prototype Matlab code for the linear algebra library, ARPACK. ARGen uses variable types to guide procedure specializations on possible calling contexts. ARGen needs to infer Matlab types in order to speculate on the possible variants of library procedures, as well as to generate code. This paper shows that our type-inference system is powerful enough to generate all the variants needed for ARPACK automatically from the Matlab development code. The ideas demonstrated here provide a basis for building a more general telescoping system for Matlab.
  • Keywords
    Computer science; Linear algebra; Optimizing compilers; Permission; Power generation; Production; Program processors; Prototypes; Research and development; Software libraries;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Supercomputing, 2003 ACM/IEEE Conference
  • Print_ISBN
    1-58113-695-1
  • Type

    conf

  • DOI
    10.1109/SC.2003.10038
  • Filename
    1592954