Abstract
Modern GPUs commonly employ specialized matrix multiplication units (MXUs) to accelerate matrix multiplication, the core computation of deep learning workloads. However, it is challenging to exploit the MXUs for GPGPU applications whose fundamental algorithms do not rely on matrix multiplication. Furthermore, an additional programming effort is necessary to tailor existing code or algorithms using dedicated APIs or libraries to utilize MXUs. Therefore, MXUs are often underutilized even when GPUs hunger for higher throughput. We observe that the intensive multiply-and-add (MAD) instructions often become bottlenecks in compute-intensive applications. Furthermore, such MAD instructions create computations similar to the dot-product operations of MXUs when they have data dependency. By leveraging these observations, we propose a novel MXU architecture called MAD MAcce that can handle both matrix multiplication and MAD operations. In our design, GPU compiler detects target MAD instructions by analyzing the instruction stream and generates new instructions for MAD Macce in a programmer-transparent manner. Then, MAD MAcce executes the newly generated instructions. By offloading MAD operations to the MXUs, GPUs can exploit the high throughput of MXUs for various domains without significant hardware modification or additional programming efforts. In our evaluation, MAD MAcce achieves up to 2.13 × speedup and 1.65 × average speedup in compute-intensive applications.
Original language | English |
---|---|
Title of host publication | Proceedings of the 56th Annual IEEE/ACM International Symposium on Microarchitecture, MICRO 2023 |
Publisher | Association for Computing Machinery, Inc |
Pages | 367-379 |
Number of pages | 13 |
ISBN (Electronic) | 9798400703294 |
DOIs | |
Publication status | Published - 2023 Oct 28 |
Event | 56th Annual IEEE/ACM International Symposium on Microarchitecture, MICRO 2023 - Toronto, Canada Duration: 2023 Oct 28 → 2023 Nov 1 |
Publication series
Name | Proceedings of the 56th Annual IEEE/ACM International Symposium on Microarchitecture, MICRO 2023 |
---|
Conference
Conference | 56th Annual IEEE/ACM International Symposium on Microarchitecture, MICRO 2023 |
---|---|
Country/Territory | Canada |
City | Toronto |
Period | 23/10/28 → 23/11/1 |
Bibliographical note
Publisher Copyright:© 2023 ACM.
All Science Journal Classification (ASJC) codes
- Computer Networks and Communications
- Hardware and Architecture
- Renewable Energy, Sustainability and the Environment