You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In particular I'm looking for guidance using blasfeo_dgemm_tn which takes the parameters m,n,k. void blasfeo_dgemm_nt(int m, int n, int k, double alpha, struct blasfeo_dmat *sA, int ai, int aj, struct blasfeo_dmat *sB, int bi, int bj, double beta, struct blasfeo_dmat *sC, int ci, int cj, struct blasfeo_dmat *sD, int di, int dj);
If I'm trying to use it to compute D = A.t * B where A has dimension 3 x 4 and B has 3 x 5 (and therefore D is necessarily 4 x 5), what should be m,n,k? I'm also ignoring C by setting it to D and using a beta=0 multiplier.
The text was updated successfully, but these errors were encountered:
All BLASFEO routines are closely related to the standard BLAS and LAPACK counterparts, and in particular the dimension parameters are identical, so you can always use the standard BLAS documentation for guidance https://netlib.org/lapack/explore-html/d1/d54/group__double__blas__level3_gaeda3cbd99c8fb834a60a6412878226e1.html
In particular, for all gemm routines, you can see m and n as the number of rows and columns of the result matrix, while k as the length of the dot product to compute each element of the result matrix.
In particular I'm looking for guidance using
blasfeo_dgemm_tn
which takes the parametersm,n,k
.void blasfeo_dgemm_nt(int m, int n, int k, double alpha, struct blasfeo_dmat *sA, int ai, int aj, struct blasfeo_dmat *sB, int bi, int bj, double beta, struct blasfeo_dmat *sC, int ci, int cj, struct blasfeo_dmat *sD, int di, int dj);
If I'm trying to use it to compute
D = A.t * B
whereA
has dimension3 x 4
andB
has3 x 5
(and thereforeD
is necessarily4 x 5
), what should bem,n,k
? I'm also ignoringC
by setting it toD
and using abeta=0
multiplier.The text was updated successfully, but these errors were encountered: