Cargando…
Cache-Aware Matrix Polynomials
Efficient solvers for partial differential equations are among the most important areas of algorithmic research in high-performance computing. In this paper we present a new optimization for solving linear autonomous partial differential equations. Our approach is based on polynomial approximations...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7302405/ http://dx.doi.org/10.1007/978-3-030-50371-0_10 |
_version_ | 1783547839481118720 |
---|---|
author | Huber, Dominik Schreiber, Martin Yang, Dai Schulz, Martin |
author_facet | Huber, Dominik Schreiber, Martin Yang, Dai Schulz, Martin |
author_sort | Huber, Dominik |
collection | PubMed |
description | Efficient solvers for partial differential equations are among the most important areas of algorithmic research in high-performance computing. In this paper we present a new optimization for solving linear autonomous partial differential equations. Our approach is based on polynomial approximations for exponential time integration, which involves the computation of matrix polynomial terms ([Image: see text]) in every time step. This operation is very memory intensive and requires targeted optimizations. In our approach, we exploit the cache-hierarchy of modern computer architectures using a temporal cache blocking approach over the matrix polynomial terms. We develop two single-core implementations realizing cache blocking over several sparse matrix-vector multiplications of the polynomial approximation and compare it to a reference method that performs the computation in the traditional iterative way. We evaluate our approach on three different hardware platforms and for a wide range of different matrices and demonstrate that our approach achieves time savings of up to 50% for a large number of matrices. This is especially the case on platforms with large caches, significantly increasing the performance to solve linear autonomous differential equations. |
format | Online Article Text |
id | pubmed-7302405 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
record_format | MEDLINE/PubMed |
spelling | pubmed-73024052020-06-18 Cache-Aware Matrix Polynomials Huber, Dominik Schreiber, Martin Yang, Dai Schulz, Martin Computational Science – ICCS 2020 Article Efficient solvers for partial differential equations are among the most important areas of algorithmic research in high-performance computing. In this paper we present a new optimization for solving linear autonomous partial differential equations. Our approach is based on polynomial approximations for exponential time integration, which involves the computation of matrix polynomial terms ([Image: see text]) in every time step. This operation is very memory intensive and requires targeted optimizations. In our approach, we exploit the cache-hierarchy of modern computer architectures using a temporal cache blocking approach over the matrix polynomial terms. We develop two single-core implementations realizing cache blocking over several sparse matrix-vector multiplications of the polynomial approximation and compare it to a reference method that performs the computation in the traditional iterative way. We evaluate our approach on three different hardware platforms and for a wide range of different matrices and demonstrate that our approach achieves time savings of up to 50% for a large number of matrices. This is especially the case on platforms with large caches, significantly increasing the performance to solve linear autonomous differential equations. 2020-05-26 /pmc/articles/PMC7302405/ http://dx.doi.org/10.1007/978-3-030-50371-0_10 Text en © Springer Nature Switzerland AG 2020 This article is made available via the PMC Open Access Subset for unrestricted research re-use and secondary analysis in any form or by any means with acknowledgement of the original source. These permissions are granted for the duration of the World Health Organization (WHO) declaration of COVID-19 as a global pandemic. |
spellingShingle | Article Huber, Dominik Schreiber, Martin Yang, Dai Schulz, Martin Cache-Aware Matrix Polynomials |
title | Cache-Aware Matrix Polynomials |
title_full | Cache-Aware Matrix Polynomials |
title_fullStr | Cache-Aware Matrix Polynomials |
title_full_unstemmed | Cache-Aware Matrix Polynomials |
title_short | Cache-Aware Matrix Polynomials |
title_sort | cache-aware matrix polynomials |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7302405/ http://dx.doi.org/10.1007/978-3-030-50371-0_10 |
work_keys_str_mv | AT huberdominik cacheawarematrixpolynomials AT schreibermartin cacheawarematrixpolynomials AT yangdai cacheawarematrixpolynomials AT schulzmartin cacheawarematrixpolynomials |