arrow
返回

Analytical performance estimation during code generation on modern GPUs

delete2023-03-01
delete5
delete
OA
AI
D
Dominik Ernst *
M
Markus Holzer
G
Georg Hager
M
Matthias Knorr
G
Gerhard Wellein
DOI:10.1016/j.jpdc.2022.11.003delete
delete原文链接
delete分享
delete收藏
查看原文
摘要

摘要

En 中文
Automatic code generation is frequently used to create implementations of algorithms specifically tuned to particular hardware and application parameters. The code generation process involves the selection of adequate code transformations, tuning parameters, and parallelization strategies. We propose an alternative to time-intensive autotuning, scenario-specific performance models, or black-box machine learning to select the best-performing configuration. This paper identifies the relevant performance-defining mechanisms for memory-intensive GPU applications through a performance model coupled with an analytic hardware metric estimator. This enables a quick exploration of large configuration spaces to identify highly efficient code candidates with high accuracy. We examine the changes of the A100 GPU architecture compared to the predecessor V100 and address the challenges of how to model the data transfer volumes through the new memory hierarchy. We show how our method can be coupled to the pystencils stencil code generator, which is used to generate kernels for a range-four 3D-25pt stencil and a complex two-phase fluid solver based on the Lattice Boltzmann Method. For both, it delivers a ranking that can be used to select the best-performing candidate. The method is not limited to stencil kernels but can be integrated into any code generator that can generate the required address expressions.
Keyword:
GPU
Analytical performance modeling
GPU performance model
Stencil codes
Layer condition
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

Journal of Parallel and Distributed Computing 封面图
Journal of Parallel and Distributed Computing
IF:
4
论文数:
3.8K
被引数:
4.8K

机构

U
University of Erlangen Nuremberg
学者数:
3.2W
论文数: 2.6W
被引数: 29
引用论文

引用论文

err分享
err收藏
Roofline: An Insightful Visual Performance Model for Multicore Architectures
err2009-04-01
err1.6K
errOAAI
errWilliams, Samuel; Waterman, Andrew; Patterson, David
err分享
err收藏