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

Provide a way to access particles on host where they can be accessed and modified while propagation continues on device #269

Open
s-sajid-ali opened this issue Apr 25, 2024 · 0 comments

Comments

@s-sajid-ali
Copy link
Member

s-sajid-ali commented Apr 25, 2024

With #261, calling checkout_particles to move particles to the host marks their memory location as MemoryLocation::Host. While this is technically true, it might be too conservative for some use cases where one only wants to obtain a copy of the particles on the host to inspect while the device can continue propagating them. Perhaps this can even be used in the future for I/O that does not block propagation.

To enable the above, we need a better way to provide access to a copy of particles which does not prevent propagation routines from executing. This issue serves to document the issue while we decide on a path of action to resolve it.

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

1 participant