Array operation synthesis scheme to optimize Fortran 90 programs

Gwan Hwan Hwang*, Jenq Kuen Lee, Dz Ching Ju

*Corresponding author for this work

Research output: Contribution to conferencePaperpeer-review

18 Citations (Scopus)

Abstract

An increasing number of programming languages, such as Fortran 90 and APL, are providing a rich set of intrinsic array functions and array expressions. These constructs which constitute an important part of data parallel languages provide excellent opportunities for compiler optimizations. In this paper, we present a new approach to combine consecutive data access patterns of array constructs into a composite access function to the source arrays. Our scheme is based on the composition of access functions, which is similar to a composition of mathematic functions. Our new scheme can handle not only data movements of arrays of different numbers of dimensions and segmented array operations but also masked array expressions and multiple sources array operations. As a result, our proposed scheme is the first synthesis scheme which can synthesize Fortran 90 RESHAPE, EOSHIFT, MERGE, and WHERE constructs together. Experimental results show speedups from 1.21 to 2.95 for code fragments from real applications on a Sequent multiprocessor machine by incorporating the proposed optimizations.

Original languageEnglish
Pages112-122
Number of pages11
DOIs
Publication statusPublished - 1995
Externally publishedYes
EventProceedings of the 5th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming - Santa Barbara, CA, USA
Duration: 1995 Jul 191995 Jul 21

Other

OtherProceedings of the 5th ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming
CitySanta Barbara, CA, USA
Period1995/07/191995/07/21

ASJC Scopus subject areas

  • General Computer Science

Fingerprint

Dive into the research topics of 'Array operation synthesis scheme to optimize Fortran 90 programs'. Together they form a unique fingerprint.

Cite this