The Ohio State University
Effective Automatic Parallelization and Locality Optimization Using The Polyhedral Model
Abstract
dc:description<p>Multicore processors have now become mainstream. The difficulty ofprogramming these architectures to effectively tap the potential ofmultiple processing units is well-known. Among several ways ofaddressing this issue, one of the very promising and simultaneously hardapproaches is Automatic Parallelization. This approach does notrequire any effort on part of the programmer in the process ofparallelizing a program.</p><p>The Polyhedral model for compiler optimization is a powerfulmathematical framework based on parametric linear algebra andinteger linear programming. It provides an abstraction to representnested loop computation and its data dependences using integerpoints in polyhedra. Complex execution-reordering, that can improveperformance by parallelization as well as locality enhancement, iscaptured by affine transformations in the polyhedral model. Withseveral recent advances, the polyhedral model has reached a level ofmaturity in various aspects – in particular, as a powerfulintermediate representation for performing transformations, and codegeneration after transformations. However, an approach toautomatically find good transformations for communication-optimizedcoarse-grained parallelization together with locality optimizationhas been a key missing link. This dissertation presents a newautomatic transformation framework that solves the above problem.Our approach works by finding good affine transformations through apowerful and practical linear cost function that enables efficienttiling and fusion of sequences of arbitrarily nested loops. This inturn allows simultaneous optimization for coarse-grained parallelismand locality. Synchronization-free parallelism and pipelinedparallelism at various levels can be extracted. The framework can betargeted to different parallel architectures, like general-purposemulticores, the Cell processor, GPUs, or embedded multiprocessorSoCs.</p><p>The proposed framework has been implemented into a new end-to-endtransformation tool, PLUTO, that can automatically generate parallelcode from regular C program sections. Experimental results from theimplemented system show significant performance improvement forsingle core and multicore execution over state-of-the-art researchcompiler frameworks as well as the best native production compilers.For several dense linear algebra kernels, code generated from Plutobeats, by a significant margin, the same kernels implemented withsequences of calls to highly-tuned libraries supplied by vendors.The system also allows empirical optimization to be performed in amuch wider context than has been attempted previously. In addition,Pluto can serve as the parallel code generation backend for severalhigh-level domain-specific languages.</p>
Degree
thesis:*- Name thesis:degree_name
- Doctor of Philosophy
- Level thesis:degree_level
- doctoral
- Discipline thesis:degree_discipline
- Computer Science and Engineering
- Grantor dc:publisher
- The Ohio State University
- Year dc:date
- 2008
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Bondhugula, Uday Kumar
- Advisor dc:contributor.advisor
-
- Sadayappan, Prof. P
Subjects
dc:subject × 4Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=osu1218542151