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

Allow MPI datatype to be reused in remote neighbor update when transferring all cells at once #6

Open
iljah opened this issue Aug 29, 2015 · 0 comments

Comments

@iljah
Copy link
Contributor

iljah commented Aug 29, 2015

When transferring all cells' data in the same MPI call dccrg has to create a new MPI datatype representing all cells. Currently this is done every time a remote neighbor update is requested but if none of the cells' datatypes change the superdatatype could be reused. The API for this would probably be to check at compile time whether the cell data class has a static member function such as bool reuse_all_mpi_datatypes(). If one exists query it whether to reuse the superdatatype or not and if it doesn't exists always create a new superdatatype.

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

No branches or pull requests

1 participant