mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2019-03-20, 22:31   #1
frmky
 
frmky's Avatar
 
Jul 2003
So Cal

37738 Posts
Default msieve LA on CUDA

I finally got a chance to try the msieve LA on a nVidia P100. It solved a 4.5M matrix in 2 hours using 5.8 GB of GPU memory. The code needs work to bring it up to date, but it looks promising on P100 and V100.

frmky is offline   Reply With Quote
Old 2019-03-21, 15:01   #2
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

27·37 Posts
Default

Have you tried a MPI GPU version? Just concerned about the memory usage for this small matrix.

Last fiddled with by pinhodecarlos on 2019-03-21 at 15:02
pinhodecarlos is offline   Reply With Quote
Old 2019-03-22, 11:48   #3
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3×1,163 Posts
Default

The existing CUDA code is definitely not MPI aware; MPI processes can each use a GPU for a smaller matrix multiply but data transfers to/from GPU would be required for every such operation. I've never even tried using it so the odds are 100% that it is broken.

A better implementation would host the data buffers on GPU at all times and do direct copies from one GPU to another. Latter-day CUDA makes this possible but it has to be explicitly set up.
jasonp is offline   Reply With Quote
Old 2020-09-07, 20:14   #4
pinhodecarlos
 
pinhodecarlos's Avatar
 
"Carlos Pinho"
Oct 2011
Milton Keynes, UK

128016 Posts
Default

Hey Greg, any new updates on the above? TIA
pinhodecarlos is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anyone help me about msieve 1.53 with CUDA? Seto Msieve 8 2016-09-24 12:54
My msieve cuda setup as a newbie pdazzl Msieve 21 2016-08-20 11:58
Problem in running msieve with CUDA mohamed Msieve 20 2013-08-01 08:27
Help with msieve CUDA (C1060) toorandom Msieve 7 2012-11-28 17:37
CUDA_ERROR_LAUNCH_OUT_OF_RESOURCES when running msieve 1.5.0 with CUDA ryanp Msieve 3 2012-06-12 03:27

All times are UTC. The time now is 07:06.

Tue Oct 27 07:06:09 UTC 2020 up 47 days, 4:17, 0 users, load averages: 2.02, 1.74, 1.69

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.