Back to search

The Ohio State University

Performance Optimization of Stencil Computations on Modern SIMD Architectures

Abstract

dc:description

Performance of scientific computing codes on modern high-performance computing(HPC) systems has, in some cases, not achieved a significant percentage of thesystem’s peak performance. Three of the fundamental causes of this lack ofefficiency are (1) less than optimal utilization of the short-vector SIMD unitsfound in nearly all modern HPC systems, (2) less than optimal utilization of thememory hierarchy and (3) less than optimal utilization of all computing coresavailable in a system. Codes that are able to overcome one or more of theselimitations are generally very complex and their implementation requires both anexpert programmer and a substantial amount of time.In this work, a class of scientific computing codes known stencil computations isexamined and shown to exhibit a fundamental algorithmic limitation thatinterferes with the generation of optimal SIMD code. A data layouttransformation (DLT) to overcome this limitation is described and comprehensiveresults for cache-resident problem sizes are presented. It is shown that thisDLT can significantly increase the performance of stencil computations on modernSIMD architectures.While substantial performance gains can be realized using the DLT for smallproblem sizes, larger problem sizes require the application of spatial andtemporal loop tiling techniques to relieve pressure on the memory subsystem andexploit all available multicore parallelism. Two closely related tilingtechniques, nested and hybrid split tiling, are developed and shown to exhibithigh performance across a variety of modern multicore SIMD architectures andstencil benchmarks.Combining SIMD, memory hierarchy, and parallelism optimizations for stencilcomputations leads to code that is very complex and difficult for scientists andeven seasoned programmers to implement. Further, these optimizations aredifficult to integrate into a general purpose compiler as there is no existingframework for reliably identifying and representing stencil computations in ageneral purpose language such as C. These problems are resolved with thecreation of the Stencil Domain Specific Language (SDSL). This language uses datastructures and concepts specific to stencil computations to enable the retentionof fundamental information about the stencil throughout the compilation process.Preserving the details of a stencil computation enables the automated generationof complex, highly optimized code for multiple parallel vector architecturesfrom a simple specification in SDSL.

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
  • Henretty, Thomas Steel
Advisor dc:contributor.advisor
  • Sadayappan, P

Subjects

dc:subject × 11

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

Henretty, Thomas Steel. Performance Optimization of Stencil Computations on Modern SIMD Architectures. doctoral thesis, The Ohio State University, 2014. http://rave.ohiolink.edu/etdc/view?acc_num=osu1408937226