Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Flang][MLIR][OpenMP] Initial multi-layered derived type member map support #61

Open
wants to merge 2 commits into
base: amd-trunk-dev
Choose a base branch
from

Conversation

agozillon
Copy link

This PR adds explicit derived type member mapping for nested descriptor types (allocatables) and other types, allowing users to map specific components of a derived type rather than the whole derived type. Currently this would also be the only way to map descriptor types within a derived type, as the automagic mapping of these when mapping an entire derived type is still a WIP and should follow on from this work.

There's a lot of Fortran tests added in this PR that should give examples of what kind of mappings are handled in this PR. This PR shouldn't (at least from self testing) regress any existing map behaviour just add on to it.

…upport

This PR adds explicit derived type member mapping for nested descriptor types (allocatables) and other types, allowing users to map specific components of a derived type rather than the whole derived type. Currently this would also be the only way to map descriptor types within a derived type, as the automagic mapping of these when mapping
an entire derived type is still a WIP and should follow on from this work.

There's a lot of Fortran tests added in this PR that should give examples of what kind of mappings are handled in this PR. This PR shouldn't (at least from self testing) regress any existing map behaviour just add on to it.
@lamb-j lamb-j added the flang label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants