A Type-Based Approach to Parallelization

Dana N. Xu,Siau-Cheng Khoo,Wei-Ngan Chin,Zhenjiang Hu
2002-01-01
Abstract:Parallel programs can be synthesized from sequential functional programs via a technique known as context preservation[6]. This technique has significantly broadened the set of sequential programs eligible for parallelization. However, the ability to automatically detect functions which admit context-preservation property has not been investigated. In this paper, we propose a type-based approach to automatically detect a class of functions with context-preservation property. In essence, our type system aims to detect an extended-ring property of the subject program, from which context preservation is guaranteed. Through this type system, a sequential program can be automatically transformed to fit into a skeletal form, which can then be parallelized. In contrast to the usual type system that are constructed from the evaluation rules of the underlying language, our type system is constructed from a set of meta-rules that are used to transform programs into skeletal forms suitable for parallelization.
What problem does this paper attempt to address?