Apparatus and method for matrix multiplication
AssigneeElectronics and Telecommunications Research Institute
InventorJoo-Hyun LEE
Life of this patent
Estimating the term…
Abstract
Disclosed herein is an apparatus and method for a matrix multiplication operation. The apparatus may include memory for storing first matrix data and second matrix data, an X buffer for storing the first matrix data, a Y buffer for storing the second matrix data, multiple operation units for performing Multiply-and-Accumulate (MAC) operations in parallel on the data input from the X buffer and the Y buffer, and a data loader for storing the first matrix data and the second matrix data read from the memory in the X buffer and the Y buffer, respectively.
Claims20
An apparatus for a matrix multiplication operation, comprising:
- memory for storing data of a first matrix and data of a second matrix;
- an X buffer for storing the data of the first matrix;
- a Y buffer for storing the data of the second matrix;
- multiple operation units for performing Multiply-and-Accumulate (MAC) operations in parallel on data input from the X buffer and the Y buffer;
- and
- a data loader for storing the data of the first matrix read from the memory in the X buffer and storing the data of the second matrix read from the memory in the Y buffer.
A method for a matrix multiplication operation, comprising:
- loading data of a first matrix and data of a second matrix from memory into an X buffer and a Y buffer, respectively;
- and
- performing simultaneous Multiply-and-Accumulate (MAC) operations in parallel on the data of the first matrix, which is loaded into the X buffer, and the data of the second matrix, which is loaded into the Y buffer, multiple times.
An apparatus for a matrix multiplication operation, comprising:
- memory for storing data of a first matrix and data of a second matrix;
- an X buffer for storing the data of the first matrix;
- a Y buffer for storing the data of the second matrix;
- multiple operation units for performing Multiply-and-Accumulate (MAC) operations in parallel on data input from the X buffer and the Y buffer;
- a data loader for storing the data of the first matrix read from the memory in the X buffer and storing the data of the second matrix read from the memory in the Y buffer;
- and
- a data saver for simultaneously outputting values stored in respective partial sum registers of the multiple operation units for performing the MAC operations in parallel and storing the values in the memory.
Dependencies are inferred from the claim text.