next up previous
Next: Application: matrix multiply Up: Automatic assembly of highly Previous: Introduction

A formal model

Formally, we wish to solve the following problem:

Given:

Find:

This is illustrated in fig. 1 (left). In general, for a given algorithm we will identify the formal parameters above, assume a parametric form for the mapping, and construct an appropriate cost function in terms of the execution times T(a,x). We will determine the parameters of the map by optimizing the cost.


  
Figure 1: ( Left) A hypothetical two-dimensional input spaces. Our task is to determine the boundaries (dashed lines). This is similar to general clustering or classification problems. ( Right) A matrix multiply operation C = C + AB is specified by three dimensions, M, K, N.
\includegraphics[width=2in]{figs/inpspace.eps} \includegraphics[width=2in]{figs/matdim.eps}


next up previous
Next: Application: matrix multiply Up: Automatic assembly of highly Previous: Introduction
Richard Vuduc
1998-12-15