Systolic array having support for output sparsity
Abstract
A processing apparatus is described herein that includes a general-purpose parallel processing engine comprising a matrix accelerator including one or more systolic arrays, at least one of the one or more systolic arrays comprising multiple pipeline stages, each pipeline stage of the multiple pipeline stages including multiple processing elements, the multiple processing elements configured to perform processing operations on input matrix elements based on output sparsity metadata. The output sparsity metadata indicates to the multiple processing elements to bypass multiplication for a first row of elements of a second matrix and multiply a second row of elements of the second matrix with a column of matrix elements of a first matrix.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 1.
Claims (8)
- Claim 1Independent Claim
A processing apparatus including: a general-purpose parallel processing engine comprising a matrix accelerator including one or more systolic arrays, at least one of the one or more systolic arrays comprising multiple pipeline stages, each pipeline stage of the multiple pipeline stages including multiple processing elements, the multiple processing elements configured to: perform processing operations on input matrix elements based on output sparsity metadata, the output sparsity metadata to indicate to the multiple processing elements to bypass multiplication for a first row of elements of a second matrix and multiply a second row of elements of the second matrix with a column of matrix elements of a first matrix, wherein the output sparsity metadata is independent of input sparsity of the input matrix elements, the multiple processing elements are to generate a sparse output matrix in a compact format, and the output sparsity metadata is to enable de-compaction of the sparse output m
- Claim 2Depends on #1
The processing apparatus as in claim 1, comprising circuitry to decode an instruction into a decoded instruction, the decoded instruction including multiple sub-instructions.
- Claim 3Depends on #1
The processing apparatus as in claim 1, wherein the multiple processing elements include a processing element having a first source input associated with an accumulator value, a second source input associated with the first matrix, and multiple third source inputs associated with the second matrix.
- Claim 4Depends on #3
The processing apparatus as in claim 3, wherein the output sparsity metadata is to indicate which of the multiple third source inputs to multiply with the second source input.
- Claim 5Depends on #4
The processing apparatus as in claim 4, wherein the output sparsity metadata is to indicate to multiply at least one of the multiple third source inputs.
- Claim 6Depends on #5
The processing apparatus as in claim 5, wherein the multiple third source inputs include three third source inputs and the output sparsity metadata includes a bit associated with each of the three third source inputs.
- Claim 7Depends on #5
The processing apparatus as in claim 5, wherein the processing element is associated with a first processing channel and each pipeline stage of the multiple pipeline stages includes multiple processing channels.
- Claim 8Depends on #1
The processing apparatus as in claim 1, wherein, in a first processing cycle, the output sparsity metadata is to indicate to a first processing element to multiply the second row of elements of the second matrix and bypass multiplication of the first row of elements of the second matrix and a third row of elements of the second matrix and, based on the output sparsity metadata, the first processing element is to multiply the second row of elements of the second matrix with the column of matrix elements of the first matrix.
Technical Overview & Description
FIELD This disclosure relates generally to data processing and more particularly to data processing via a matrix accelerator of a parallel or graphics processing unit. BACKGROUND OF THE DISCLOSURE Parallel graphics data processing includes systems and methods developed to perform specific operations on graphics data such as, for example, linear interpolation, tessellation, rasterization, texture mapping, depth testing, etc. Traditionally, graphics processors used fixed function computational units to process graphics data. More recently, portions of graphics processors have been made programmable, enabling such processors to support a wider variety of operations for processing vertex and fragment data. Programmable graphics processors have also been adapted to perform general purpose numerical computing applications, such as high-performance computing (HPC), deep learning (e.g., study of artificial neural networks and related machine learning algorithms), and digital signal processing (DSP). These general-purpose numerical computing applications make extensive use of matrix multiplication computations. Accordingly, programmable portions of parallel and graphics data processing units have been adapted to include processing resources and/or functional units that are configured to perform high-throughput matrix operations, including matrix multiply and add operations or dot product operations. BRIEF DESCRIPTION OF THE DRAWINGS The present invention is illustrated by way of example and not limitation in the figures of the accompanying drawings in which like references indicate similar elements, and in which: FIG. 1 is a block diagram illustrating a computer system configured to implement one or more aspects of the embodiments described herein; FIG. 2 A- 2 D illustrate parallel processor components; FIG. 3 A- 3 C are block diagrams of graphics multiprocessors and multiprocessor-based GPUs; FIG. 4 A- 4 F illustrate an exemplary architecture in which a plurality of GPUs is
Cited By — Indexed Forward Citations (1 of 1 total)
References Cited — Backward Prior Art (6)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (8)
- Notification Concewrning Transmittal of International Preliminary Report on Patentability for PCT/US2022/020408 mailed Jan. 4, 2024, 10 pages.
- Communication of European publication number and information on the application of Article 67(3). EP Pub. No. 4359967 Apr. 4, 2024.
- International Search Report and Written Opinion for PCT/US22/20408 mailed Jun. 29, 2022, 13 pages.
- Itay Hubara et al:
- “
- Accelerated Sparse Neural Training: A Provable and Efficient Method to Find N:M Transposable Masks
- ”
- , arxiv.org, Cornell University Library, 201 Olin Library Cornell University Ithaca, NY 14853, Feb. 16, 2021 (Feb. 16, 2021), XP081886962, 12 pages.