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

SVD on GPU: complex values, interface cleanup (Discussion) #12917

Closed
shamanDevel opened this issue Sep 8, 2017 · 4 comments
Closed

SVD on GPU: complex values, interface cleanup (Discussion) #12917

shamanDevel opened this issue Sep 8, 2017 · 4 comments
Assignees
Labels
type:feature Feature requests

Comments

@shamanDevel
Copy link
Contributor

Hi,
pull request #11878 brought an implementation of the SVD on the GPU. But at the moment, only real values are supported.

The current status when applying the SVD (M=USV') on a complex matrix M:

  • The python interface declares U,V as complex, S as real
  • The C++ kernel definition declares both U,V and S as complex
    (This simplified the CPU implementation using Eigen)
  • The python code then immediately casts S to the reals
  • The GPU solver (cuSolver) would, however, output the singular values directly as reals

This leads to the following questions / ideas / suggestions
(credit goes also to @rmlarsen for discussion this the first time with me)

  • Change the kernel definition: Add a new kernel (V2 suffix) that returns S as a real type
  • Implement the complex support on GPUs
  • Adopt the CPU code to also use the new kernel definition
    OR
    Keep both definitions and let the python wrapper to choose between the two versions based on the target device (CPU vs GPU)
  • ...?

What do you think?

@drpngx drpngx added the type:feature Feature requests label Sep 9, 2017
@tensorflowbutler
Copy link
Member

Nagging Assignee @rmlarsen: It has been 379 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

@Harshini-Gadige
Copy link

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!

@amilsted
Copy link

It would be great to have this available - it would be very handy for quantum physics applications! Any news?

@amilsted
Copy link

@shamanDevel Any chance of reopening this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Feature requests
Projects
None yet
Development

No branches or pull requests

6 participants