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

Questions about cuOSQP #12

Open
jusevitch opened this issue Mar 2, 2022 · 0 comments
Open

Questions about cuOSQP #12

jusevitch opened this issue Mar 2, 2022 · 0 comments

Comments

@jusevitch
Copy link

jusevitch commented Mar 2, 2022

Thanks for writing this fantastic library! I had a couple questions I was wondering if someone could clarify:

  1. Is it possible for cuOSQP to operate completely on a GPU alone? It seems that currently the problem is set up in NumPy on the CPU, then passed to the GPU for solving.
  2. Are there any plans to make cuOSQP compatible with PyTorch tensors, CuPy arrays, or other array-like objects that can be stored directly on GPUs? I'm aware that, e.g., PyTorch tensors can be cast back into NumPy arrays, but this requires an extra data transfer step from GPU to CPU when the PyTorch tensor is stored on a GPU.
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