On Stage Ordering in Staged Computation

نویسندگان

  • Zhenghao Wang
  • Richard R. Muntz
چکیده

A staged computation is a computation organized in a cascade of stages: each stage produces code for its successive stage; the final stage produces the desired output. An off-line procedure called binding time analysis (BTA) is often used to pre-convert unstaged code into staged code, i.e., code annotated with stage labels, which can guide online staged computation. For dynamic re-optimization purposes, it is advantageous for the order of stages in the cascade to change during runtime; however, the staged code may not support all permutations of stage sequences. Thus, it is both a and practical question to efficiently decide whether a specific stage sequence is valid for a staged code. Our approach is to encode the set of valid stage sequences for a staged code off-line in a stage ordering language (SOL) to facilitate fast online decision. Contrary to the intuition that we only need a single generic SOL (such as the language of posets of stage labels) to sufficiently and efficiently encode the set of valid stage sequences for any staged code in any staged language, we may need different SOLs for different staged languages. We analyze several staged languages and then present a metatheory on validating a SOL for a given staged language. Our result reveals the relationship between SOLs and semantic properties of staged languages, and can influence the design of staged languages and BTA.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Mathematical Optimization Model for Solving Minimum Ordering Problem with Constraint Analysis and some Generalizations

In this paper, a mathematical method is proposed to formulate a generalized ordering problem. This model is formed as a linear optimization model in which some variables are binary. The constraints of the problem have been analyzed with the emphasis on the assessment of their importance in the formulation. On the one hand, these constraints enforce conditions on an arbitrary subgraph and then g...

متن کامل

Evaluation of Scheduling Policies in a Staged-Database System

Traditional database systems execute queries using one query multiple operators approach. Such systems do not cash on the common data or computation which could be used by multiple queries. Thus leading to poor performance. To overcome these deficiencies, Staged-DB approach has been proposed, where the philosophy is one operator multiple queries. A Staged-DB system splits a traditional DBMS int...

متن کامل

Automatically Splitting a Two-Stage Lambda Calculus

Staged programming languages assign a stage to each program expression and evaluate each expression in its assigned stage. A common use of staged languages is to describe programs where inputs arrive at different times or rates. In this paper we present an algorithm for statically splitting these mixed-staged programs into two unstaged, but dependent, programs where the outputs of the first pro...

متن کامل

Time-staged outputs in production process: A DEA-Based Approach

This paper examines the issue of handling outputs in DEA that occur at different stages in time. In some situations, the output set occur at the different period of time, meaning that the produced outputs at the first period of time impact on the production of outputs of next time . This problem setting gives rise to the phenomenon of time-staged outputs. Specifically, the two outputs occur at ...

متن کامل

A T.E.M INVESTIGATION OF THE MECHANISM OF EARLY STAGE ORDERING IN THE INTERMETTALIC COMPOUND PT2FECU

Abstract: The microstructural features of the early stage of ordering of the intermetallic compound Pt2FeCu have been examined using optical and transmission electron microscopy in conjunction with X-ray diffraction technique. It was found that the compound has similar morphological alteration to that of FePt in which the ordering cannot be suppressed by rapid quenching. The early stage of ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003