Type-based specialization in a telescoping compiler for Matlab
This thesis develops telescoping-language technology for automatically generating high performance libraries from development code written in high-level languages, like Matlab. The generated library subroutines have pre-optimized variants based on possible uses of the library. Specifically, a specia...
Main Author: | |
---|---|
Other Authors: | |
Format: | Others |
Language: | English |
Published: |
2009
|
Subjects: | |
Online Access: | http://hdl.handle.net/1911/17609 |
id |
ndltd-RICE-oai-scholarship.rice.edu-1911-17609 |
---|---|
record_format |
oai_dc |
spelling |
ndltd-RICE-oai-scholarship.rice.edu-1911-176092013-10-23T04:12:31ZType-based specialization in a telescoping compiler for MatlabMcCosh, Cheryl HomComputer ScienceThis thesis develops telescoping-language technology for automatically generating high performance libraries from development code written in high-level languages, like Matlab. The generated library subroutines have pre-optimized variants based on possible uses of the library. Specifically, a specialized variant is generated for each possible type configuration on inputs to the library. This thesis develops an efficient graph-theoretical, constraint-based algorithm for inferring types in Matlab needed for translation into lower-level languages, optimization, and determination of which specialized variants to generate. The algorithm computes type jump functions, which allows it to infer types interprocedurally. To illustrate the power of the technology, this thesis develops ARGen, a system which generates code equivalent to ARPACK, a Fortran linear algebra library, from its Matlab development code. By accomplishing the type inferencing algorithm and ARGen, which uses it, this thesis provides a basis for a general system for telescoping languages.Kennedy, Ken2009-06-04T08:02:32Z2009-06-04T08:02:32Z2003ThesisText59 p.application/pdfhttp://hdl.handle.net/1911/17609eng |
collection |
NDLTD |
language |
English |
format |
Others
|
sources |
NDLTD |
topic |
Computer Science |
spellingShingle |
Computer Science McCosh, Cheryl Hom Type-based specialization in a telescoping compiler for Matlab |
description |
This thesis develops telescoping-language technology for automatically generating high performance libraries from development code written in high-level languages, like Matlab. The generated library subroutines have pre-optimized variants based on possible uses of the library. Specifically, a specialized variant is generated for each possible type configuration on inputs to the library. This thesis develops an efficient graph-theoretical, constraint-based algorithm for inferring types in Matlab needed for translation into lower-level languages, optimization, and determination of which specialized variants to generate. The algorithm computes type jump functions, which allows it to infer types interprocedurally.
To illustrate the power of the technology, this thesis develops ARGen, a system which generates code equivalent to ARPACK, a Fortran linear algebra library, from its Matlab development code.
By accomplishing the type inferencing algorithm and ARGen, which uses it, this thesis provides a basis for a general system for telescoping languages. |
author2 |
Kennedy, Ken |
author_facet |
Kennedy, Ken McCosh, Cheryl Hom |
author |
McCosh, Cheryl Hom |
author_sort |
McCosh, Cheryl Hom |
title |
Type-based specialization in a telescoping compiler for Matlab |
title_short |
Type-based specialization in a telescoping compiler for Matlab |
title_full |
Type-based specialization in a telescoping compiler for Matlab |
title_fullStr |
Type-based specialization in a telescoping compiler for Matlab |
title_full_unstemmed |
Type-based specialization in a telescoping compiler for Matlab |
title_sort |
type-based specialization in a telescoping compiler for matlab |
publishDate |
2009 |
url |
http://hdl.handle.net/1911/17609 |
work_keys_str_mv |
AT mccoshcherylhom typebasedspecializationinatelescopingcompilerformatlab |
_version_ |
1716610840311889920 |