mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2010-12-21, 20:27   #45
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

6138 Posts
Default

Hey, all,

I've just made a Windows build of CUDAGenefer 0.94. It's built with the 2.3 SDK instead of the 3.2 SDK, so it will probably be S-L-O-W. But if this works I'll try to install the 3.2 SDK in a VM and build with that.
Ken_g6 is offline   Reply With Quote
Old 2010-12-21, 22:45   #46
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

11·577 Posts
Default

Quote:
Originally Posted by Ken_g6 View Post
Hey, all,

I've just made a Windows build of CUDAGenefer 0.94. It's built with the 2.3 SDK instead of the 3.2 SDK, so it will probably be S-L-O-W. But if this works I'll try to install the 3.2 SDK in a VM and build with that.
Did you build your code from msft's latest code, i.e. the code that works with PRPNet?
rogue is offline   Reply With Quote
Old 2010-12-21, 22:56   #47
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

5·79 Posts
Default

Quote:
Originally Posted by rogue View Post
Did you build your code from msft's latest code, i.e. the code that works with PRPNet?
I built from the code in his post of December 14, which says it supports genefer 2.2.0.

It looks like it may not be working with CUDA 3.2, so I'm trying to build with that next.
Ken_g6 is offline   Reply With Quote
Old 2010-12-21, 23:35   #48
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2·5·61 Posts
Default

Hi ,ken_g6
This version was add your advice.
Attached Files
File Type: gz CUDAGenefer.0.95.tar.gz (8.3 KB, 100 views)
msft is offline   Reply With Quote
Old 2010-12-22, 00:25   #49
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

5×79 Posts
Default

Thanks! The build is now updated to 0.95, and built with CUDA 3.2.
Ken_g6 is offline   Reply With Quote
Old 2010-12-22, 06:36   #50
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2·5·61 Posts
Default

Hi ,
Linux 64bit exec file.
Attached Files
File Type: gz CUDAGenefer.0.95.L64.tar.gz (25.1 KB, 95 views)
msft is offline   Reply With Quote
Old 2010-12-23, 10:03   #51
IBethune
 
Nov 2010

52 Posts
Default

I've built MacIntel 32 and 64 executables from the 0.95 code - http://www.pyramid-productions.net/d...el_0.95.tar.gz.

I haven't been able to test these for real since I don't have a compute capability 1.3 card, but I see no reason why it shouldn't work since I didn't change anything from the Linux version.

If you need any more versions of this compiled on the Mac please send me an email as I don't read this forum very regularly!

(iain<at>pyramid<dash>productions<dot>net)

Cheers

- Iain
IBethune is offline   Reply With Quote
Old 2010-12-23, 11:58   #52
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2·5·61 Posts
Default

Hi ,IBethune
Thank you very much for your help.
msft is offline   Reply With Quote
Old 2010-12-29, 20:54   #53
IBethune
 
Nov 2010

52 Posts
Default

Cross-posted from PrimeGrid, but hope no-one minds!

I've updated the build at http://www.pyramid-productions.net/d...el_0.95.tar.gz to run on Mac OS X 10.5 and above.

However, I also just checked the current options available through the Apple store, and there is no DP-capable card available - the MacBook Pros have Geforce 320M or GT 330M, and the Mac Pros and iMacs all have ATI only, so this is a bit academic!

Msft, I added a check near the start of main() to test if the device is cc 1.3 or above, otherwise people who tried the code would get error messages back from the first cufft call. The modified source is in the tar file if you want to use it in the main code.

Cheers

- Iain
IBethune is offline   Reply With Quote
Old 2011-02-14, 09:47   #54
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2×5×61 Posts
Default

Code:
$ ./GeneferCUDA -r
GeneferCUDA 0.98 (CUDA3.2) based on Genefer v2.2.0
Copyright (C) 2001-2003, Yves Gallot (v1.3)
Copyright (C) 2009, Mark Rodenkirch, David Underbakke (v2.2.0)
Copyright (C) 2010, Shoichiro Yamada (CUDA)
A program for finding large probable generalized Fermat primes.

230234^8192+1 is composite. (RES=5972a302c255e081)
  (43927 digits) (err = 0.0024) (time = 0:03:00) 00:09:25
151902^16384+1 is composite. (RES=0a1a98e69b17f1e9)
  (84895 digits) (err = 0.0017) (time = 0:05:51) 00:15:16
177444^32768+1 is a probable composite. (RES=f69cc3e2334a43a8)
  (172002 digits) (err = 0.0034) (time = 0:13:44) 00:29:00
157476^65536+1 is a probable composite. (RES=9f64b3f0d545615c)
  (340605 digits) (err = 0.0042) (time = 0:34:36) 01:03:36
52186^131072+1 is composite. (RES=1b196d6c0e4d778f)
  (618340 digits) (err = 0.0007) (time = 1:22:27) 02:26:03
70000^262144+1 is a probable composite. (RES=fa15b4b858fd2ff0)
  (1270114 digits) (err = 0.0020) (time = 2:10:04) 04:36:07

$ ./GeneferCUDA -b
GeneferCUDA 0.98 (CUDA3.2) based on Genefer v2.2.0
Copyright (C) 2001-2003, Yves Gallot (v1.3)
Copyright (C) 2009, Mark Rodenkirch, David Underbakke (v2.2.0)
Copyright (C) 2010, Shoichiro Yamada (CUDA)
A program for finding large probable generalized Fermat primes.

Generalized Fermat Number Bench
2009574^8192+1  Time: 428 us/mul.       Err: 3.82e-01   51636 digits
1632282^16384+1 Time: 453 us/mul.       Err: 2.53e-01   101791 digits
1325824^32768+1 Time: 490 us/mul.       Err: 2.19e-01   200622 digits
1076904^65536+1 Time: 636 us/mul.       Err: 1.72e-01   395325 digits
874718^131072+1 Time: 815 us/mul.       Err: 3.47e-01   778813 digits
710492^262144+1 Time: 1.15 ms/mul.      Err: 4.21e-01   1533952 digits
577098^524288+1 Time: 2.1 ms/mul.       Err: 2.01e-01   3020555 digits
468750^1048576+1        Time: 3.96 ms/mul.      Err: 1.64e-01   5946413 digits
380742^2097152+1        Time: 8.14 ms/mul.      Err: 3.63e-01   11703432 digits
Delete cudaSetDeviceFlags(cudaDeviceBlockingSync);
Attached Files
File Type: bz2 GeneferCUDA.0.98.tar.bz2 (33.1 KB, 122 views)
msft is offline   Reply With Quote
Old 2011-11-25, 00:16   #55
msft
 
msft's Avatar
 
Jul 2009
Tokyo

2×5×61 Posts
Default

Ver.0.99
Attached Files
File Type: bz2 GeneferCUDA.0.99.tar.bz2 (8.8 KB, 86 views)
msft is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Genefer's FFT applied to Mersenne squaring preda Software 0 2017-09-06 02:54
CUDA 5.5 ET_ GPU Computing 2 2013-06-13 15:50
AVX CPU LL vs CUDA LL nucleon GPU Computing 11 2012-01-04 17:52
Best CUDA GPU for the $$ Christenson GPU Computing 24 2011-05-01 00:06
CUDA? Xentar Conjectures 'R Us 6 2010-03-31 07:43

All times are UTC. The time now is 09:12.


Sat Jul 17 09:12:09 UTC 2021 up 50 days, 6:59, 1 user, load averages: 2.17, 1.84, 1.66

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.