Morton-order Matrices Deserve Compilers' Support

dc.contributor.authorWise, David; Frens, Jeremy
dc.date.accessioned2025-11-11T23:30:09Z
dc.date.available2025-11-11T23:30:09Z
dc.date.issued1999-11
dc.description.abstractA proof of concept is offered for the uniform representation of matrices serially in Morton-order (or Z-order) representation, as well as their divide-and-conquer processing as quaternary trees. Generally, $d$ dimensional arrays are accessed as $2^d$-ary trees. This data structure is important because, at once, it relaxes serious problems of locality and latency, while the tree helps schedule multi-processing. It enables algorithms that avoid cache misses and page faults at all levels in hierarchical memory, independently of a specific runtime environment. This paper gathers the properties of Morton order and its mappings to other indexings, and outlines for compiler support of it. Statistics on matrix multiplication, a critical example, show how the new ordering and block algorithms achieve high flop rates and, indirectly, parallelism without low-level tuning. Perhaps because of the early success of column-major representation with strength reduction, quadtree representation has been reinvented and redeveloped in areas far from the center that is Programming Languages. As target architectures move to multiprocessing, super-scalar pipes, and hierarchical memories, compilers must support quadtrees better, so that more programmers invent algorithms that use them to exploit the hardware. CCS Categories and subject descriptors: E.1 [Data Structures]: Arrays; D.3.2 [Programming Languages]: Language Classifications--- concurrent, distributed and parallel languages; applicative (functional) languages; D.4.2 [Operating Systems]: Storage management---storage hierarchies; E.2 [Data Storage Representations]: contiguous representations; F.2.1 [Analysis of Algorithms and Problem Complexity]: Numerical algorithms and problems--- computations on matrices.
dc.identifier.urihttps://hdl.handle.net/2022/34375
dc.relation.ispartofseriesIndiana University Computer Science Technical Reports; TR533
dc.rightsThis work is protected by copyright unless stated otherwise.
dc.rights.uri
dc.titleMorton-order Matrices Deserve Compilers' Support

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR533.pdf
Size:
239.89 KB
Format:
Adobe Portable Document Format
Can’t use the file because of accessibility barriers? Contact us