Forum > Discussion Forum
CUDA for prime number search
Jason G:
--- Quote from: _heinz on 18 Sep 2011, 10:22:45 am ---Hi Jason
It's a good idea to make the boinc lib updates now...
some hints, links ?
--- End quote ---
First step, you'll need to look at building some updated Boinc libs from the Boinc trunk, then making them fit into the application, which will require some app updates of files reference in Boinc to be compatible, and to use the newer GPU related features.
aaronhaviland:
--- Quote from: _heinz on 17 Sep 2011, 05:54:42 pm ---The using of cutil.h cutil_inline.h in the project llr under CUDA40 is a bit problematic, cutil is no longer part of CUDA(since 4.0)
--- End quote ---
It doesn't use CUTIL for much, anyway. It doesn't take much to remove this dependency. (So far as I've seen, most projects that use CUTIL only use cutilSafeCall() and/or cufftSafeCall()).
_heinz:
--- Quote from: Jason G on 18 Sep 2011, 10:28:28 am ---
--- Quote from: _heinz on 18 Sep 2011, 10:22:45 am ---Hi Jason
It's a good idea to make the boinc lib updates now...
some hints, links ?
--- End quote ---
First step, you'll need to look at building some updated Boinc libs from the Boinc trunk, then making them fit into the application, which will require some app updates of files reference in Boinc to be compatible, and to use the newer GPU related features.
--- End quote ---
C:\I\SC\pg\Ken-g6-PSieve-CUDA-a17a696_heinz\boinc
At revision: 24231
One or more files are in a conflicted state.
aaronhaviland:
--- Quote from: _heinz on 17 Sep 2011, 07:23:07 pm ---C:\I\llrCUDA.0.60-win64\llrCUDA.0.60-win64>llrCUDA.exe -q"1000065*2^390927-1" -d
1000065*2^390927-1 is not prime. LLR Res64: 5704E082C8671874 Time : 721.315 sec.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\I\llrCUDA.0.60-win64\llrCUDA.0.60-win64>llrCUDA.exe -q"313*2^1012240+1" -d
313*2^1012240+1 is not prime. Proth RES64: A3FC31A0497414EE Time : 1949.425 sec.
--- End quote ---
I'm concerned, you're getting the wrong results here: "1000065*2^390927-1" should be prime! "313*2^1012240+1" should return 5FA128A9BECBCDD3.
_heinz:
--- Quote from: aaronhaviland on 18 Sep 2011, 09:58:41 pm ---
--- Quote from: _heinz on 17 Sep 2011, 07:23:07 pm ---C:\I\llrCUDA.0.60-win64\llrCUDA.0.60-win64>llrCUDA.exe -q"1000065*2^390927-1" -d
1000065*2^390927-1 is not prime. LLR Res64: 5704E082C8671874 Time : 721.315 sec.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\I\llrCUDA.0.60-win64\llrCUDA.0.60-win64>llrCUDA.exe -q"313*2^1012240+1" -d
313*2^1012240+1 is not prime. Proth RES64: A3FC31A0497414EE Time : 1949.425 sec.
--- End quote ---
I'm concerned, you're getting the wrong results here: "1000065*2^390927-1" should be prime! "313*2^1012240+1" should return 5FA128A9BECBCDD3.
--- End quote ---
Although I run the original downloded llrCUDA.exe, will rerun those two(if whole test ends), too see if I get yor result.
If not we have a problem there.
heinz
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version