Back to search

University of Toronto

Optimizing Irregular Computations on Parallel Processors

Abstract

dc:description.abstract

Parallel processors, such as multi-core processors, many-core processors, and multi-node systems, are widely employed in scientific computing and machine learning applications to meet their ever growing computing demands. However, the underlying computations in these applications have irregularities in both their memory access and their control flow. Irregular computations make performance optimization challenging on parallel processors due to their data-dependent memory accesses, e.g. the indirect memory accesses (e.g., A[B[i]]) in sparse computations. Additionally, control flow dependencies that arise in irregular computations poses limitations to parallelization. Therefore, while currently parallel processors are used to efficiently optimize the performance of applications with regular computation patterns and predictable control flow, novel algorithms and software systems have to be developed to tackle the optimization of applications with irregular patterns. The first focus of this thesis is the optimization of irregular computations caused by indirect memory accesses. Specifically, the indirect memory accesses that frequently appear in sparse computation. Such indirection is caused by the specialized sparse data structures used in these computations and that only store the non-zeros. This thesis presents a set of parallel algorithms and code transformations for sparse computations to overcome the challenges arising from indirect memory accesses on numerous parallel processors, including multi-core CPU, GPU, and Cloud-based distributed platforms. We optimize sparse tensor computations and achieve up to 3.7× and 6.9×speedup compared to the state-of-the-art implementations on GPU and Cloud-based distributed platforms, respectively. We also developed a framework for data-sparse computations called MatRox, MatRox-generated code achieves up to 6.0× speedup over existing library implementations. This thesis also focuses on the irregular computations caused by dynamic control flow. Dynamic control flow, such as if-statements, is common and can lead to irregular computations in real applications. For example, Partial Differential Equation (PDE) solvers process elements guarded with boundary check conditions which are unpredictable and data-dependent. We present a set of compiler optimization techniques to handle dynamic control flows. Our compiler optimization techniques are implemented is a tool called VecRC, which achieves geometric mean speedups of 1.20×, 1.19× and 1.06× over GCC, Clang and ICC on real benchmark code.

Degree

thesis:*
Department dc:contributor.department
Computer Science
Year dc:date.issued
2024

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Liu, Bangtian
Advisor dc:contributor.advisor
  • Dehnavi, Maryam M

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/1807/138080

Chain of custody

source
Harvested from
University of Toronto
Base URL
utoronto.scholaris.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Liu, Bangtian. Optimizing Irregular Computations on Parallel Processors. 2024. https://hdl.handle.net/1807/138080