Displaying 1 result from an estimated 1 matches for "matrix_multiply".
2019 Oct 28
6
RFC: Matrix math support
...ey can be easily extended to also support row-major layouts.
Initially, we would like to propose the following intrinsics:
<C x Ty> matrix_transpose(<C x Ty> %in, i32 <M>, i32 <N>)
Treat %in as containing a matrix with M rows and N columns and transpose it.
<C x Ty> matrix_multiply(<A x Ty> %X, <B x Ty> %Y, i32 <M>, i32 <N>, i32<K>)
Treat %X as matrix with M rows and K columns, %Y as matrix with K rows and N columns and multiply them.
<C x Ty>matrix_columnwise_load(Ty* %Ptr, i64 %Stride, i32 <M>, i32 <N>)
Load a matrix with M...