Skip to content

Idea for a potential future direction: SuiteSparse's GPU backend? #29

@cleo2801

Description

@cleo2801

Hi,

First off, thanks for creating this incredibly useful library!

I was recently using sparseqr and checking the latest SuiteSparse documentation. I noticed that their SPQR solver now has a mature GPU backend, which caught my attention because I need high-resolution computations and they are currently taking a lot of time.

The current GPU alternatives in Python (like cupy.sparse.linalg.qr) are great for speed, but they don’t expose the column permutation vector E. In my work, that vector is actually the most critical piece of the output. Having a way to run this exact logic on a GPU would be a real game-changer for performance.

I understand this is not a simple feature request. I can imagine the amount of work required in the CFFI layer to handle GPU memory, device transfers, and linking against a CUDA-enabled SuiteSparse build, but I wanted to share this idea and see if GPU support for SPQR is something you’ve ever considered for sparseqr.

Thanks again for all your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions