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
{{ message }}
Repository navigation
All dcomplex 1m operations fail for mixed row/col dgemm ukrs #557
When the sgemm microkernel is row-major and the dgemm microkernel is column-major or vice versa, all dcomplex 1m operations fail. I guess the row/column preference is being read from the wrong precision?
The problem is reproduced in this branch for haswell.
I think I've tracked this down. It appears that there is an implicit assumption that when using 1m, your read-domain gemm ukernels share the same IO preference.
I think I know the why my fix partially failed. I did away with storing the pack schemas in the context in 6f3ab17, but the gemmtrsm1m and trsm1m virtual kernels are still trying to read one of the pack schemas from the context. (I exhaustively tested gemm, but not trsm, before the commit. 😕)
I'll have to communicate the schemas to those trsm-related virtual kernels via the auxinfo_t, which helpfully already has schema fields.
Activity
devinamatthews commentedon Oct 7, 2021
See also #533.
fgvanzee commentedon Oct 7, 2021
Le sigh. I'll investigate.
fgvanzee commentedon Oct 7, 2021
I think I've tracked this down. It appears that there is an implicit assumption that when using 1m, your read-domain gemm ukernels share the same IO preference.
fgvanzee commentedon Oct 7, 2021
This is a really tricky bug. I have a proposed solution, but it'll take a day or two to implement due to the extensive changes required.
Allow use of 1m with mixing of row/col-pref ukrs.
fgvanzee commentedon Oct 8, 2021
I think I know the why my fix partially failed. I did away with storing the pack schemas in the context in 6f3ab17, but the
gemmtrsm1mandtrsm1mvirtual kernels are still trying to read one of the pack schemas from the context. (I exhaustively testedgemm, but nottrsm, before the commit. 😕)I'll have to communicate the schemas to those
trsm-related virtual kernels via theauxinfo_t, which helpfully already has schema fields.Fixed knock-on effects of 6f3ab17.
Allow use of 1m with mixing of row/col-pref ukrs.
fgvanzee commentedon Oct 13, 2021
I think we're good on this now. Closing.
Allow use of 1m with mixing of row/col-pref ukrs.