-
Notifications
You must be signed in to change notification settings - Fork 50
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
Run examples on host or device #624
Comments
@lebuller can you start on this and let me know if you questions? |
I am happy to take this and give a PR on examples related to Cabana (core examples). Is that okay? @streeve |
That would be great - to be clear changing from host-only will require copying data back and forth from the CPU and GPU with mirror copies in quite a few places (after data is created, when it's time to print back on the host, etc.) |
Thank you. I will convert one of the examples first and will ask for feedback so that I do it correctly. |
Follow on to #617. Convert
DefaultHostExecutionSpace
toDefaultExecutionSpace
and add mirrors as needed to ensure legal memory access. Consider keeping some/all of the data structure examples fully on the host (examples prior to mirror/deep_copy)The text was updated successfully, but these errors were encountered: