Back to results
US 12,007,904 B2Granted
Method and apparatus for vector based matrix multiplication
AssigneeTexas Instruments Incorporated
InventorsAsheesh Bhardwaj, Mujibur Rahman, Timothy David Anderson
Life of this patent
Estimating the term…
Abstract
A method is provided that includes performing, by a processor in response to a vector matrix multiply instruction, multiplying an m×n matrix (A matrix) and a n×p matrix (B matrix) to generate elements of an m×p matrix (R matrix), and storing the elements of the R matrix in a storage location specified by the vector matrix multiply instruction.
Claims20
A system comprising:
- a first buffer configured to receive a first set of data elements;
- a first permute component coupled to the first buffer;
- a second buffer configured to receive a second set of data elements;
- a second permute component coupled to the second buffer;
- a multiplexer configured to select between the first permute component and the second permute component based on which of the first buffer and the second buffer stores a next data element of the first set of data elements or the second set of data elements, wherein the multiplexer includes:
- a first input coupled to the first permute component;
- a second input coupled to the second permute component;
- and
- an output;
- and
- a multiplication component coupled to the output of the multiplexer.
8 more elements
A method comprising:
- receiving, at a first buffer of a data load interface, a first set of data elements, wherein the data load interface includes a first permute component coupled to the first buffer;
- permutating, by the first permute component, the first set of data elements to generate first permutated data;
- receiving, at a second buffer of the data load interface, a second set of data elements, wherein the data load interface further includes a second permute component coupled to the second buffer;
- permutating, by the second permute component, the second set of data elements to generate second permutated data;
- selecting, by a multiplexer coupled to the first permute component and the second permute component, between the first permutated data and the second permutated data based on which of the first buffer and the second buffer stores a next data element of the first set of data elements or the second set of data elements;
- and
- multiplying, by a multiplication component coupled to the multiplexer, the first permutated data or the second permutated data.
4 more elements
A system comprising:
- a first buffer;
- a first permute component coupled to the first buffer;
- a second buffer;
- a second permute component coupled to the second buffer;
- a third buffer;
- a third permute component coupled to the third buffer;
- a fourth buffer;
- a fourth permute component coupled to the fourth buffer;
- a first multiplexer coupled to the first and second permute components;
- a second multiplexer coupled to the third and fourth permute components;
- a logical OR circuit coupled to the first multiplexer and the second multiplexer;
- a multiplication component coupled to the logical OR circuit.
9 more elements
Dependencies are inferred from the claim text.