Skip to content

Tensor alignStride has now effect #15

@lrannabauer

Description

@lrannabauer

yateto_issue.tar.gz
The attached example seems to ignore the the alignStride=False setting for a matrix U which is the result of a matrix-matrix product SF:

    F     = Tensor('F' , (SWE_DG_DOFS, 3) )
    S     = Tensor('S' , (SWE_DG_DOFS, SWE_DG_DOFS) )
    U     = Tensor('U' , (SWE_DG_DOFS, 3) ,alignStride=False)

kernel:

    example = U["lq"] <= S["lj"] * F["jq"] 

Resulting libxsmm call:
libxsmm_m28_n3_k28_ldA28_ldB28_ldC28_alpha1_beta0_alignedA1_alignedC1_pfsigonly(S, F, U, nullptr, nu
llptr, nullptr);

To run the example set the yateto_dir in runExample.sh and run the script.
Thanks

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