Compiler and Runtime Optimization of Computational Kernels for Irregular Applications
dc.contributor.advisor | Mellor-Crummey, John | en_US |
dc.contributor.advisor | Budimlić, Zoran | en_US |
dc.contributor.committeeMember | Varman, Peter J | en_US |
dc.contributor.committeeMember | Mamouras, Konstantinos | en_US |
dc.creator | Milakovic, Srdan | en_US |
dc.date.accessioned | 2023-09-01T19:33:35Z | en_US |
dc.date.created | 2023-08 | en_US |
dc.date.issued | 2023-08-17 | en_US |
dc.date.submitted | August 2023 | en_US |
dc.date.updated | 2023-09-01T19:33:36Z | en_US |
dc.description | EMBARGO NOTE: This item is embargoed until 2024-08-01 | en_US |
dc.description.abstract | Many computationally-intensive workloads do not fit on individual compute nodes due to their size. As a consequence, such workloads are usually executed on multiple heterogenous compute nodes of a cluster or supercomputer. However, due to the complexity of the hardware, developing efficient and scalable code for modern compute nodes is difficult. Another challenge with sophisticated applications is that data structures, communication, and control patterns are often irregular and unknown before the program execution. Lack of regularity makes static analysis especially difficult or very often impossible. To overcome these issues, programmers use high-level and implicitly parallel programming models or domain-specific libraries that consist of composable building blocks. This dissertation explores compiler and runtime optimizations for automatic granularity selection in the context of two programming paradigms: Concurrent Collections (CnC)---a declarative,dynamic single-assignment, data-race free programming model---and GraphBLAS--a domain-specific Application-specific Programming Interface (API)---. Writing fine-grained CnC programs is easy and intuitive for domain experts because the programmers do not have to worry about parallelism. Additionally, fine-grained programs expose maximum parallelism. However, fine-grained programs can significantly increase the runtime overhead of CnC program execution due to a large number of data accesses and dependencies between computation tasks with respect to the amount of computation that is done by a fine-grained task. Runtime overhead can be reduced by coarsening the data accesses and task dependencies. However, coarsening is usually tedious, and it is not easy even for domain experts. For some applications, the coarse-grained code can be generated by a compiler. However, not all fine-grained applications can be converted to coarse-grained applications because not all information is statically known. In this dissertation, we introduce the concept of micro-runtimes. A micro-runtime is a Hierarchical CnC construct that enables fusion of multiple steps into a higher-level step during program execution. Another way for users to develop applications that efficiently exploit modern hardware is through domain-specific APIs that define composable building blocks. One such API specification is GraphBLAS. GraphBLAS allows users to specify graph algorithms using (sparse) linear algebra building blocks. Even though GraphBLAS libraries usually consist of highly hand-optimized building blocks, GraphBLAS libraries provide limited or no support for inter-kernel optimization. In this dissertation, we investigate multiple different approaches for inter-kernel optimization, including runtime optimizations and compile-time optimizations. Our optimizations reduce the number of arithmetic operations, memory accesses, and memory required for temporary objects. | en_US |
dc.embargo.lift | 2024-08-01 | en_US |
dc.embargo.terms | 2024-08-01 | en_US |
dc.format.mimetype | application/pdf | en_US |
dc.identifier.citation | Milakovic, Srdan. "Compiler and Runtime Optimization of Computational Kernels for Irregular Applications." (2023) Diss., Rice University. https://hdl.handle.net/1911/115234. | en_US |
dc.identifier.uri | https://hdl.handle.net/1911/115234 | en_US |
dc.language.iso | eng | en_US |
dc.rights | Copyright is held by the author, unless otherwise indicated. Permission to reuse, publish, or reproduce the work beyond the bounds of fair use or other exemptions to copyright law must be obtained from the copyright holder. | en_US |
dc.subject | Concurrent Collections | en_US |
dc.subject | Graph BLAS | en_US |
dc.subject | Operator Fusion | en_US |
dc.title | Compiler and Runtime Optimization of Computational Kernels for Irregular Applications | en_US |
dc.type | Thesis | en_US |
dc.type.material | Text | en_US |
thesis.degree.department | Computer Science | en_US |
thesis.degree.discipline | Engineering | en_US |
thesis.degree.grantor | Rice University | en_US |
thesis.degree.level | Doctoral | en_US |
thesis.degree.name | Doctor of Philosophy | en_US |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- MILAKOVIC-DOCUMENT-2023.pdf
- Size:
- 17.8 MB
- Format:
- Adobe Portable Document Format