Giter VIP home page Giter VIP logo

Comments (4)

pghysels avatar pghysels commented on June 12, 2024

Hi,

We have some initial support for Nvidia GPUs, using cuBLAS/cuSOLVER and SLATE for one of the solver algorithms (for the direct solver, not for the preconditioners or the iterative solvers).
In an older branch, we also used MAGMA (instead of cuBLAS/cuSOLVER), because they provide variable sized batched GEMM.

There are currently no CUDA kernels in the code, since we can get most of the performance from BLAS/LAPACK.
However, I'm planning to add a few small CUDA kernels to avoid CPU<->GPU data movement, which would also make it easier to remove our use of CUDA managed memory (cudaMallocManaged). That will then make it easier to 'hipify' the code.

To test the current cuBLAS/cuSOLVER support, add
-DTPL_ENABLE_CUBLAS=ON -DCUDAToolkit_ROOT=/some/path
to your cmake command, and
-DTPL_ENABLE_SLATE=ON
for SLATE support for distributed memory (ScaLAPACK alternative).

I'd be happy to discuss more.

from strumpack.

pghysels avatar pghysels commented on June 12, 2024

Are you working on some application or are you thinking about RAJA?

from strumpack.

artv3 avatar artv3 commented on June 12, 2024

I was just thinking about it from a user point of view. If my application assembles a matrix how does the hand off to STRUMPACK work? For example, can I provide device pointers? or would it do the host-device copy for me?

from strumpack.

pghysels avatar pghysels commented on June 12, 2024

We don't have an interface that takes device pointers.
There are several steps in the algorithms that we cannot do on the GPU yet, such as reordering of the (sparse) matrix to reduce the fill-in during the factorization, or reordering for numerical stability, and the symbolic analysis phase. For the ordering we call external libraries such as METIS, Scotch and MC64.

from strumpack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.