Method and apparatus for efficient matrix transpose
AssigneeIntel Corporation
InventorsDennis Ryan Bradford, Jesus Corbal, Brian Hickmann, Rohan Sharma
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsDennis Ryan Bradford, Jesus Corbal, Brian Hickmann, Rohan Sharma
Estimating the term…
Disclosed embodiments relate to a method and apparatus for efficient matrix transpose. In one example, a processor to execute a matrix transpose instruction includes fetch circuitry to fetch the matrix transpose instruction specifying a destination matrix and a source matrix having (N×M) elements and (M×N) elements, respectively, a (N×M) load buffer, decode circuitry to decode the fetched matrix transpose instruction, and execution circuitry, responsive to the decoded matrix transpose instruction to, for each row X of M rows of the specified source matrix: fetch and buffer N elements of the row in a load register, and cause the N buffered elements to be written, in the same relative order as in the row, to column X of M columns of the load buffer, and the execution circuitry subsequently to write each of N rows of the load buffer to a same row of the load buffer.
A processor to execute a matrix transpose instruction, the processor comprising:
A method of executing a matrix transpose instruction by a processor, the method comprising:
A non-transitory machine-readable medium containing instructions that, when executed by a processor, cause the processor to execute a matrix transpose instruction by:
Dependencies are inferred from the claim text.