mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > GMP-ECM

Reply
 
Thread Tools
Old 2015-10-17, 19:14   #1
Gordon
 
Gordon's Avatar
 
Nov 2008

3×167 Posts
Default GPU_ECM seems to not use GPU

I managed to find and download an apparently gpu enabled version, found the missing nvivia dll and tried it out with a prime95 stage 1 curve.

Result? - it did ALL of the calculation on the cpu, didn't touch either gtx card once, even specifiying -gpudevice 0 made no difference at all...and it's about 25% slower than gmp-ecm v7...oh well
Gordon is offline   Reply With Quote
Old 2015-10-17, 20:25   #2
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

6CD16 Posts
Default

GPU-ECM uses the CPU for stage 2. It uses the gpu (with flag -gpu) for stage 1 only. The GPU-enabled stage 1 is also limited to numbers less than or equal to 2^1018-1 for the time being.
wombatman is offline   Reply With Quote
Old 2015-10-17, 22:34   #3
Gordon
 
Gordon's Avatar
 
Nov 2008

50110 Posts
Default

Quote:
Originally Posted by wombatman View Post
GPU-ECM uses the CPU for stage 2. It uses the gpu (with flag -gpu) for stage 1 only. The GPU-enabled stage 1 is also limited to numbers less than or equal to 2^1018-1 for the time being.
So, as everything below M1019 has been factored, there isn't in fact any use for gpu_ecm?
Gordon is offline   Reply With Quote
Old 2015-10-17, 22:58   #4
wombatman
I moo ablest echo power!
 
wombatman's Avatar
 
May 2013

1,741 Posts
Default

For Mersenne, no. For other numbers, it works brilliantly.
wombatman is offline   Reply With Quote
Old 2015-10-21, 10:10   #5
MatWur-S530113
 
MatWur-S530113's Avatar
 
Apr 2007
Spessart/Germany

2×34 Posts
Default

Quote:
Originally Posted by Gordon View Post
So, as everything below M1019 has been factored, there isn't in fact any use for gpu_ecm?
in addition to wombatman's answer:
the following exponents of M-numbers with already known factors have composite cofactors with 1018 or less bits (atm, of course):
1213, 1217, 1229, 1237, 1297

see f.e. factordb.com .

but I don't think it's worth to run stages 1 with the gpu on them with B1 less than 1e9
MatWur-S530113 is offline   Reply With Quote
Reply

Thread Tools


All times are UTC. The time now is 19:51.

Fri Feb 26 19:51:31 UTC 2021 up 85 days, 16:02, 0 users, load averages: 3.74, 2.89, 2.56

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.