Loughborough University
Browse
2107.14027.pdf (642.77 kB)

Hyperbolic diffusion in flux reconstruction: optimisation through kernel fusion within tensor-product elements

Download (642.77 kB)
journal contribution
posted on 2022-03-08, 08:28 authored by Will Trojak, Rob WatsonRob Watson, Freddie Witherden
Novel methods are presented in this initial study for the fusion of GPU kernels in the artificial compressibility method (ACM), using tensor product elements with constant Jacobians and flux reconstruction. This is made possible through the hyperbolisation of the diffusion terms, which eliminates the expensive algorithmic steps needed to form the viscous stresses. Two fusion approaches are presented, which offer differing levels of parallelism. This is found to be necessary for the change in workload as the order of accuracy of the elements is increased. Several further optimisations of these approaches are demonstrated, including a generation time memory manager which maximises resource usage. The fused kernels are able to achieve 3-4 times speedup, which compares favourably with a theoretical maximum speedup of 4. In three dimensional test cases, the generated fused kernels are found to reduce total runtime by ∼25%, and, when compared to the standard ACM formulation, simulations demonstrate that a speedup of 2.3 times can be achieved.

History

School

  • Aeronautical, Automotive, Chemical and Materials Engineering

Department

  • Aeronautical and Automotive Engineering

Published in

Computer Physics Communications

Volume

273

Publisher

Elsevier

Version

  • AM (Accepted Manuscript)

Rights holder

© Elsevier

Publisher statement

This paper was accepted for publication in the journal Computer Physics Communications and the definitive published version is available at https://doi.org/10.1016/j.cpc.2021.108235.

Acceptance date

2021-11-14

Publication date

2021-11-19

Copyright date

2021

ISSN

0010-4655

Language

  • en

Depositor

Dr Rob Watson. Deposit date: 7 March 2022

Article number

108235

Usage metrics

    Loughborough Publications

    Categories

    No categories selected

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC