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

Request for least squares solver using SVD #15428

Closed
adayton1 opened this issue May 14, 2024 · 1 comment
Closed

Request for least squares solver using SVD #15428

adayton1 opened this issue May 14, 2024 · 1 comment
Labels
type: feature New feature request

Comments

@adayton1
Copy link

adayton1 commented May 14, 2024

Your Environment (If applicable)

  • Multiple different platforms: Windows 10-11, macOS Monterey and newer, and Linux (RHEL 8 based)
  • Compilers: amdclang (ROCm 6), nvcc (CUDA 11), intel (2022), clang (12-14), gcc (10-12)

Describe the problem

Description

I would like to request a least squares solver routine that uses SVD for robustness. I'm especially looking for the __device__ versions (these solves take place in the middle of large GPU kernels) of these routines. My application can be compiled for both NVIDIA and AMD GPUs. LAPACK has gelsd and gelss, but I'd be open to other algorithms using SVD if they are more amenable to GPU execution.

At the moment my application is using a handrolled solver, but I can't just replace it outright with LAPACK because I need GPU support. I am eager to see the performance difference from using an optimized linear algebra library!

The sizes of the systems I am solving are small (2x2, 3x3 and 6x6).

Additional context

https://www.netlib.org/lapack/explore-html/d9/d67/group__gelsd.html
https://www.netlib.org/lapack/explore-html/da/d55/group__gelss.html
https://www.netlib.org/lapack/lug/node71.html (Fig 3.3)

Desired timelines

Within 3-12 months would be appreciated.

@adayton1 adayton1 added the type: feature New feature request label May 14, 2024
@adayton1
Copy link
Author

My apologies, this was the wrong magma repo.

@adayton1 adayton1 closed this as not planned Won't fix, can't repro, duplicate, stale May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature New feature request
Projects
None yet
Development

No branches or pull requests

1 participant