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

serialize(Kokkos::View) should use execution space and WithoutInitializing arguments #243

Open
PhilMiller opened this issue Jun 1, 2022 · 1 comment
Assignees

Comments

@PhilMiller
Copy link
Member

We want to avoid excess overhead or synchronization in the serialization code paths for Kokkos::View objects whose contents may reside in host-inaccessible device memory. Skip initializing the space allocated for any mirrors, since it's guaranteed to be overwritten, and pass execution space arguments to all allocations and copies to ensure that synchronization only occurs minimally and where we ask for it.

@PhilMiller
Copy link
Member Author

@stmcgovern This may be a good one for you to pick up.

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

No branches or pull requests

2 participants