Sciweavers

IFL
2003
Springer

With-Loop Scalarization - Merging Nested Array Operations

13 years 9 months ago
With-Loop Scalarization - Merging Nested Array Operations
Construction of complex array operations by composition of more basic ones allows for abstract and concise specifications of algorithms. Unfortunately, na¨ıve compilation of such specifications leads to creation of many temporary arrays at runtime and, consequently, to poor performance characteristics. This paper elaborates on a new compiler optimization, named withloop-scalarization, which aims at eliminating temporary arrays in the context of nested array operations. It is based on with-loops, a versatile array comprehension construct used by the functional array language SaC both for specification as well as for internal representation of array operations. The impact of with-loop-scalarization on the runtime performance of compiled SaC code is demonstrated by several experiments involving support for arithmetic on arrays of complex numbers and the application kernel FT from the NAS benchmark suite.
Clemens Grelck, Sven-Bodo Scholz, Kai Trojahner
Added 07 Jul 2010
Updated 07 Jul 2010
Type Conference
Year 2003
Where IFL
Authors Clemens Grelck, Sven-Bodo Scholz, Kai Trojahner
Comments (0)