Fine‐Grained Memory Profiling of GPGPU Kernels
Open Access
- 1 October 2022
- journal article
- conference paper
- Published by Wiley in Computer Graphics Forum
- Vol. 41 (7) , 227-235
Abstract
Memory performance is a crucial bottleneck in many GPGPU applications, making optimizations for hardware and software mandatory. While hardware vendors already use highly efficient caching architectures, software engineers usually have to organize their data accordingly in order to efficiently make use of these, requiring deep knowledge of the actual hardware. In this paper we present a novel technique for fine‐grained memory profiling that simulates the whole pipeline of memory flow and finally accumulates profiling values in a way that the user retains information about the potential region in the GPU program by showing these values separately for each allocation. Our memory simulator turns out to outperform state‐of‐the‐art memory models of NVIDIA architectures by a magnitude of 2.4 for the L1 cache and 1.3 for the L2 cache, in terms of accuracy. Additionally, we find our technique of fine grained memory profiling a useful tool for memory optimizations, which we successfully show in case of ray tracing and machine learning applications.Keywords
Funding Information
- Deutsche Forschungsgemeinschaft (407 714 161)
This publication has 22 references indexed in Scilit:
- Dissecting GPU Memory Hierarchy Through MicrobenchmarkingIEEE Transactions on Parallel and Distributed Systems, 2016
- A detailed GPU cache model based on reuse distance theory2014
- Pannotia: Understanding irregular GPGPU graph applications2013
- On quality metrics of bounding volume hierarchies2013
- Cache Miss Analysis for GPU Programs Based on Stack Distance Profile2011
- Predicting whole-program locality through reuse distance analysisACM SIGPLAN Notices, 2003
- Interactive Rendering with Coherent Ray TracingComputer Graphics Forum, 2001
- Heuristics for ray tracing using space subdivisionThe Visual Computer, 1990
- An analytical cache modelACM Transactions on Computer Systems, 1989
- Very high-speed computing systemsProceedings of the IEEE, 1966