Skip to content

Conversation

@Thomas-Ulrich
Copy link

Would it make sense to merge this code?
I just merged the content of the branch new_alignement_mode, used by tandem, with yateto.
No idea what it is useful for ;-)

@uphoffc
Copy link
Contributor

uphoffc commented Oct 16, 2024

The changes allow to enforce that Tensors use unaligned memory instead of relying on the default logic of yateto (that assumes that all power-of-vector-size tensors are aligned). IIRC it is used in tandem as alignment is a compile-time setting in PETSc, cf https://github.com/TEAR-ERC/tandem/blob/main/app/kernels/generate.py#L30

@Thomas-Ulrich Thomas-Ulrich changed the title Thomas/carsten new alignement mode Support unaligned tensor memory allocation for PETSc compatibility Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants