Investigating Register Cache Behavior: Implications for CUDA and Tensor Core Workloads on GPUs
GPUs are extensively employed as the primary devices for running a broad spectrum of applications, covering general-purpose applications as well as Artificial Intelligence (AI) applications. Register file, as the largest SRAM on the GPU die, accounts for over 20% of the total GPU energy consumption. Register cache has been introduced to reduce traffic from the register file and thus decrease total energy consumption when CUDA cores are utilized. However, the utilization of register cache has not been thoroughly investigated for Tensor Cores which are integrated into recent GPU architectures to meet AI workload demands. In this paper, we study the usage of register cache in both CUDA and Tensor Cores and conduct a thorough examination of their pros and cons. We have developed an open-source analytical simulator, called RFC-sim, to model and measure the energy consumption of both the register file and register cache. Our results show that while the register cache can reduce energy consumption by up to 40% in CUDA cores, it results in increased energy consumption by up to 23% in Tensor Cores. The main reason lies in the limited space of the register cache, which is not sufficient for the demand of Tensor cores to capture locality.
Authors
- Vahid Geraeinejad (ORCID: https://orcid.org/0000-0001-6996-608X)
- Masoumeh Ebrahimi (ORCID: https://orcid.org/0000-0001-7877-6712)
- Qiran Qian (ORCID: https://orcid.org/0000-0002-9545-2493)
Institutions
- KTH Royal Institute of Technology (SE)
Publication Details
- Journal
- IEEE Journal on Emerging and Selected Topics in Circuits and Systems
- Published
- 2024-08-05
- DOI
- https://doi.org/10.1109/jetcas.2024.3439193
- Citations
- 6
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 2.93
Funders
- Swedish Foundation for International Cooperation in Research and Higher Education