Back to search

The Ohio State University

Vectorization and Register Reuse in High Performance Computing

Abstract

dc:description

Automatic vectorization is crucial for attaining maximum performance onmodern processors in a performance portable fashion. There issignificant room for improvement over techniques in existing compilers,as demonstrated in this work, through careful synthesis of vectorizedcode and application of aggressive performance optimizations, especiallyin the domains of tensor contractions and stencils. Tensor contractionsare a class of computation used extensively in computational chemistrywhich are essentially higher-dimension matrix multiplication. Vectorcode synthesis for tensor contractions has been explored, utilizing anovel in-register transpose for efficiently accessing tensors with SIMDvectors along any dimension. Aggressive use of unroll-and-jam and looppermutation optimizations is able to increase register reuse andamortize the cost of expensive vector operations.Stencils are a critical part of many scientific codes including PDEsolvers and image processing. This work presents a framework forreordering operations in regular loop computations, such as stencils, byutilizing the associativity and commutativity of operations. Thefreedom to reorder computations involving associative operators has beenwidely recognized and exploited in designing parallel algorithms and toa more limited extent in optimizing compilers. The reordering ofoperations enables substantially improved register reuse through reducedregister pressure, resulting in up to 4x performance improvement forexisting benchmarks. The multidimensional retiming formalismcharacterizes the space of valid implementations in conjunction withother transformations from the vector code synthesis used for tensorcontractions.Given the transformations used to optimize high performance software,there are many parameters which create a space of possible variants fromwhich the best, or nearly best, candidate must be found. In addition toauto-tuning over the space of synthesized vector codes, two models havebeen developed for selecting a high performance variant at compile time. The first model is based on estimating the total number of SIMDinstructions executed and demonstrated and for a set of benchmarkkernels achieved a mean performance of 73% of the best observedperformance across multiple architectures and compilers. The secondmodel used features extracted from the assembly code generated by thecompiler which were then processed by machine learning algorithms. Byconsidering a linear combination of the most successful models, a meanperformance of 89% of the best observed was achieved in the same testsas the first model.This research has shown that integration of tile code generationtechniques with existing automatic tiling and parallelizing algorithmsbased on the polyhedral model can produce significant performanceimprovements on modern architectures such as Intel's Many IntegratedCore. Additionally, these techniques have been applied in productionsoftware to automatically produce high performance code on multiplearchitectures for the dominant computational kernel in MADNESS.

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
2014

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Stock, Kevin Alan
Advisor dc:contributor.advisor
  • Sadayappan, P

Subjects

dc:subject × 7

Rights

dc:rights
Statement dc:rights
  • unrestricted
  • This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center.
Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
OhioLINK
Base URL
etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
citation

Stock, Kevin Alan. Vectorization and Register Reuse in High Performance Computing. doctoral thesis, The Ohio State University, 2014. http://rave.ohiolink.edu/etdc/view?acc_num=osu1408969385