Chapter

Languages, Compilers, and Run-Time Systems for Scalable Computers

Volume 1915 of the series Lecture Notes in Computer Science pp 70-84

Date:

A Comparison of Locality Transformations for Irregular Codes

  • Hwansoo HanAffiliated withDepartment of Computer Science, University of Maryland
  • , Chau-Wen TsengAffiliated withDepartment of Computer Science, University of Maryland

* Final gross prices may vary according to local VAT.

Get Access

Abstract

Researchers have proposed several data and computation transformations to improve locality in irregular scientific codes. We ex- perimentally compare their performance and present gpart, a new tech- nique based on hierarchical clustering. Quality partitions are constructed quickly by clustering multiple neighboring nodes with priority on nodes with high degree, and repeating a few passes. Overhead is kept low by clustering multiple nodes in each pass and considering only edges between partitions. Experimental results show gpart matches the performance of more sophisticated partitioning algorithms to with 6%-8%, with a small fraction of the overhead. It is thus useful for optimizing programs whose running times are not known. This research was supported in part by NSF CAREER Development Award