Skip to content

All dcomplex 1m operations fail for mixed row/col dgemm ukrs #557

Closed

Description

@devinamatthews

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.

Activity

  1. devinamatthews commented on Oct 7, 2021

    @devinamatthews
    MemberAuthor

    See also #533.

  2. fgvanzee commented on Oct 7, 2021

    @fgvanzee
    Member

    Le sigh. I'll investigate.

  3. fgvanzee commented on Oct 7, 2021

    @fgvanzee
    Member

    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.

  4. fgvanzee commented on Oct 7, 2021

    @fgvanzee
    Member

    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.

  5. fgvanzee commented on Oct 8, 2021

    @fgvanzee
    Member

    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.

  6. fgvanzee commented on Oct 13, 2021

    @fgvanzee
    Member

    I think we're good on this now. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions