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

Pointer representation is hard #6

Open
martinruefenacht opened this issue Aug 12, 2019 · 1 comment
Open

Pointer representation is hard #6

martinruefenacht opened this issue Aug 12, 2019 · 1 comment
Assignees
Labels
help wanted Extra attention is needed invalid This doesn't seem right

Comments

@martinruefenacht
Copy link
Owner

Currently pointers are explicitly separate types which have a reference and/or dereference function to go up and down the explicit pointer types. This is not very flexible and it required all pointer types to be listed in the database explicitly.

The reason this was done is that the pointer attribute of a variable didn't straightforwardly allow pointer paritions with MPI_Init and MPI_Init_thread. This should be part of the type somehow, but not explicitly separate types, because it can be derived.

@martinruefenacht martinruefenacht added help wanted Extra attention is needed invalid This doesn't seem right labels Aug 12, 2019
@martinruefenacht martinruefenacht self-assigned this Aug 12, 2019
@martinruefenacht
Copy link
Owner Author

Pointers are derived types/kinds, similar to constant. This means that we can store these alongside the Type in the Variable class.
For example: const or pointer<1, BUFFER> or pointer<2, RANK>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant