DrTimothyAldenDavis / SuiteSparse

The official SuiteSparse library: a suite of sparse matrix algorithms authored or co-authored by Tim Davis, Texas A&M University.
https://people.engr.tamu.edu/davis/suitesparse.html
Other
1.17k stars 262 forks source link

Multi-GPU support #103

Closed mhtrinhLIC closed 2 years ago

mhtrinhLIC commented 3 years ago

Does SuiteSparse take advantage of multi-GPU ? I could not find any documentation about how to use multiple GPU.

I did some trial with the cholmod_l_demo. Using CUDA_VISIBLE_DEVICES, I can force which GPU to use. But when I put multiple gpuId in CUDA_VISIBLE_DEVICES, only the first GPU is used

DrTimothyAldenDavis commented 3 years ago

It only uses one gpu

On Sat, Sep 11, 2021 at 7:20 AM Hieu Trinh @.***> wrote:

Does SuiteSparse take advantage of multi-GPU ? I could not find any documentation about how to use multiple GPU.

I did some trial with the cholmod_l_demo. Using CUDA_VISIBLE_DEVICES, I can force which GPU to use. But when I put multiple gpuId in CUDA_VISIBLE_DEVICES, only the first GPU is used

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DrTimothyAldenDavis/SuiteSparse/issues/103, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYIIOPEOA7I3RLWB66M25TUBNCRDANCNFSM5D25BKRA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

-- Sent from Gmail Mobile

mhtrinhLIC commented 3 years ago

It only uses one gpu

That's a shame ...

I saw from this presentation that it's possible to run Multi-GPU with version 4.6.0 BETA Is there any plan on porting that to current branch ?

Would you have a sample code that use multi-GPU with version 4.6.0 BETA ?

DrTimothyAldenDavis commented 2 years ago

4.6.0beta isn't ready for production use. It still needs additional testing.