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

Run examples on host or device #624

Open
streeve opened this issue May 10, 2023 · 4 comments · May be fixed by #677
Open

Run examples on host or device #624

streeve opened this issue May 10, 2023 · 4 comments · May be fixed by #677

Comments

@streeve
Copy link
Member

streeve commented May 10, 2023

Follow on to #617. Convert DefaultHostExecutionSpace to DefaultExecutionSpace 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)

@streeve
Copy link
Member Author

streeve commented May 10, 2023

@lebuller can you start on this and let me know if you questions?

@dineshadepu
Copy link
Contributor

dineshadepu commented Aug 24, 2023

I am happy to take this and give a PR on examples related to Cabana (core examples). Is that okay? @streeve

@streeve
Copy link
Member Author

streeve commented Aug 24, 2023

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.)

@dineshadepu
Copy link
Contributor

Thank you. I will convert one of the examples first and will ask for feedback so that I do it correctly.

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

Successfully merging a pull request may close this issue.

2 participants