Assymetric allocation of sram and data layout for efficient matrix multiplication
AssigneeOracle International Corporation
InventorsGaurav Chadha, Sam Idicula, Sandeep Agrawal, Nipun Agarwal
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsGaurav Chadha, Sam Idicula, Sandeep Agrawal, Nipun Agarwal
Estimating the term…
Techniques are described herein for performing efficient matrix multiplication in architectures with scratchpad memories or associative caches using asymmetric allocation of space for the different matrices. The system receives a left matrix and a right matrix. In an embodiment, the system allocates, in a scratchpad memory, asymmetric memory space for tiles for each of the two matrices as well as a dot product matrix. The system proceeds with then performing dot product matrix multiplication involving the tiles of the left and the right matrices, storing resulting dot product values in corresponding allocated dot product matrix tiles. The system then proceeds to write the stored dot product values from the scratchpad memory into main memory.
A method for performing matrix multiplication between a left matrix, A, and a right matrix, B, in a processor, comprising:
One or more non-transitory storage media storing instructions, which when executed by one or more computing devices cause:
Dependencies are inferred from the claim text.