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

Move space and field from GPU to CPU #1296

Open
simonbyrne opened this issue Jun 6, 2023 · 3 comments
Open

Move space and field from GPU to CPU #1296

simonbyrne opened this issue Jun 6, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@simonbyrne
Copy link
Member

simonbyrne commented Jun 6, 2023

It would be helpful to have a function that can move a space and field from the GPU to CPU (or vice versa), e.g. for plotting.

closed by #1619

Describe the solution you'd like
The question is what the interface should look like:

  • todevice(device, field/space)?

Additional context

  • we could use a similar approach for switching from MPICommsContext to SingletonCommsContext.
@simonbyrne simonbyrne added the enhancement New feature or request label Jun 6, 2023
@simonbyrne
Copy link
Member Author

cc @charleskawczynski @sriharshakandala thoughts?

@charleskawczynski
Copy link
Member

I like the idea. This should be somewhat straightforward with adapt, right? Are there any challenges you see?

@simonbyrne
Copy link
Member Author

Possibly? I'm trying some things out at the moment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants