Professor Tobias Weinzierl tobias.weinzierl@durham.ac.uk
Professor
Hardware-aware block size tailoring on adaptive spacetree grids for shallow water waves
Weinzierl, Tobias; Wittmann, Roland; Unterweger, Kristof; Bader, Michael; Breuer, Alexander; Rettenberger, Sebastian
Authors
Roland Wittmann
Kristof Unterweger
Michael Bader
Alexander Breuer
Sebastian Rettenberger
Contributors
Armin Größlinger
Editor
Harald Köstler
Editor
Abstract
Spacetrees are a popular formalism to describe dynamically adaptive Cartesian grids. Though they directly yield an adaptive spatial discretisation, i.e. a mesh, it is often more efficient to augment them by regular Cartesian blocks embedded into the spacetree leaves. This facilitates stencil kernels working efficiently on homogeneous data chunks. The choice of a proper block size, however, is delicate. While large block sizes foster simple loop parallelism, vectorisation, and lead to branch-free compute kernels, they bring along disadvantages. Large blocks restrict the granularity of adaptivity and hence increase the memory footprint and lower the numerical-accuracy-per-byte efficiency. Large block sizes also reduce the block-level concurrency that can be used for dynamic load balancing. In the present paper, we therefore propose a spacetree-block coupling that can dynamically tailor the block size to the compute characteristics. For that purpose, we allow different block sizes per spacetree node. Groups of blocks of the same size are identied automatically throughout the simulation iterations, and a predictor function triggers the replacement of these blocks by one huge, regularly rened block. This predictor can pick up hardware characteristics while the dynamic adaptivity of the fine grid mesh is not constrained. We study such characteristics with a state-of-the-art shallow water solver and examine proper block size choices on AMD Bulldozer and Intel Sandy Bridge processors.
Citation
Weinzierl, T., Wittmann, R., Unterweger, K., Bader, M., Breuer, A., & Rettenberger, S. (2014). Hardware-aware block size tailoring on adaptive spacetree grids for shallow water waves. In A. Größlinger, & H. Köstler (Eds.), HiStencils 2014 - Proceedings of the 1st international workshop on high-performance stencil computations (57-64)
Presentation Conference Type | Conference Paper (Published) |
---|---|
Conference Name | HiStencils 2014 - 1st International Workshop on High-Performance Stencil Computations |
Publication Date | Jan 21, 2014 |
Deposit Date | Dec 18, 2013 |
Publicly Available Date | Feb 27, 2014 |
Pages | 57-64 |
Series Title | HiPEAC |
Book Title | HiStencils 2014 - Proceedings of the 1st international workshop on high-performance stencil computations. |
Public URL | https://durham-repository.worktribe.com/output/1155881 |
Publisher URL | http://www.exastencils.org/histencils/ |
Files
Published Conference Proceeding
(1.4 Mb)
PDF
You might also like
SYCL compute kernels for ExaHyPE
(2024)
Presentation / Conference Contribution
Detrimental task execution patterns in mainstream OpenMP runtimes
(2024)
Presentation / Conference Contribution
Compiler support for semi-manual AoS-to-SoA conversions with data views
(2024)
Presentation / Conference Contribution
A multiscale optimisation algorithm for shape and material reconstruction from a single X-ray image
(2024)
Presentation / Conference Contribution
Downloadable Citations
About Durham Research Online (DRO)
Administrator e-mail: dro.admin@durham.ac.uk
This application uses the following open-source libraries:
SheetJS Community Edition
Apache License Version 2.0 (http://www.apache.org/licenses/)
PDF.js
Apache License Version 2.0 (http://www.apache.org/licenses/)
Font Awesome
SIL OFL 1.1 (http://scripts.sil.org/OFL)
MIT License (http://opensource.org/licenses/mit-license.html)
CC BY 3.0 ( http://creativecommons.org/licenses/by/3.0/)
Powered by Worktribe © 2024
Advanced Search