mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GpuOwl (https://www.mersenneforum.org/forumdisplay.php?f=171)
-   -   gpuOwL: an OpenCL program for Mersenne primality testing (https://www.mersenneforum.org/showthread.php?t=22204)

preda 2018-08-28 11:19

[QUOTE=SELROC;494787]Yes. I do this, for a double-control I switch between GPUs, the issue is persistent. It is:

300M exponent with 1 error recorded and 200 block size: 16.80 ms/it

332M exponent with 0 errors and 400 block size: 16.50 ms/it

The difference is small, but persistent.

FFT size 18M[/QUOTE]

Ah, it's the block size that's different. Every blockSize iterations, an additional multiplication is done. Maybe this multiply is a bit slower than a normal iteration (let's say, 2x or 3x), that might stretching it a bit explain the difference.

axn 2018-08-28 11:34

[QUOTE=preda;494792]Ah, it's the block size that's different. Every blockSize iterations, an additional multiplication is done. Maybe this multiply is a bit slower than a normal iteration (let's say, 2x or 3x), that might stretching it a bit explain the difference.[/QUOTE]

Also every blockSize^2 iterations, you do the actual error check, right?

preda 2018-08-28 11:36

[QUOTE=axn;494794]Also every blockSize^2 iterations, you do the actual error check, right?[/QUOTE]

Yes, but that's accounted separately time-wise, not in the time-per-it.

SELROC 2018-08-28 17:57

[QUOTE=preda;494792]Ah, it's the block size that's different. Every blockSize iterations, an additional multiplication is done. Maybe this multiply is a bit slower than a normal iteration (let's say, 2x or 3x), that might stretching it a bit explain the difference.[/QUOTE]


Yes.


I started the 300M exponent with FFT 16M and blockSize 200, at 8% gave the first error, it was stopped and restarted with default FFT 18M.


The 332M exponent started with default FFT 18M and blockSize 400.

kracker 2018-08-29 02:17

1 Attachment(s)
Latest Windows build from git(as of now...) untested!

SELROC 2018-08-29 08:32

Does gpuowl accept pull requests in github ?

preda 2018-08-29 08:44

[QUOTE=SELROC;494843]Does gpuowl accept pull requests in github ?[/QUOTE]

It depends: I'm open and welcome contributions, but I'd do a review (which might be considered strict), and I reserve the right to not accept it in the end.

SELROC 2018-08-29 09:07

[QUOTE=preda;494845]It depends: I'm open and welcome contributions, but I'd do a review (which might be considered strict), and I reserve the right to not accept it in the end.[/QUOTE]

Sorry for the wrong title, first time for me to open a pull request on github.

kriesel 2018-08-29 19:14

Builds posted
 
[QUOTE=kracker;494833]Latest Windows build from git(as of now...) untested![/QUOTE]Welcome back kracker to build posting!
How is your build at post 676 different from what I posted in [URL]http://www.mersenneforum.org/showpost.php?p=494759&postcount=666?[/URL]

FYI, James Heinrich has at my request put up several Windows build versions on his mirror site, at [URL]https://download.mersenne.ca/gpuowl[/URL], a selection from the larger list of links to executables or zip files at the bottom of [URL]http://www.mersenneforum.org/showpost.php?p=488539&postcount=4[/URL]

preda 2018-08-29 23:30

[QUOTE=SELROC;494848]Sorry for the wrong title, first time for me to open a pull request on github.[/QUOTE]

Thanks for this pull request!

kracker 2018-08-30 01:48

[QUOTE=kriesel;494876]Welcome back kracker to build posting!
How is your build at post 676 different from what I posted in [URL]http://www.mersenneforum.org/showpost.php?p=494759&postcount=666?[/URL]

FYI, James Heinrich has at my request put up several Windows build versions on his mirror site, at [URL]https://download.mersenne.ca/gpuowl[/URL], a selection from the larger list of links to executables or zip files at the bottom of [URL]http://www.mersenneforum.org/showpost.php?p=488539&postcount=4[/URL][/QUOTE]


Hmm... Sorry, didn't notice you posted! Honestly I think it's very similar... only difference is that I don't use -O2 when compiling... don't think that flag affects gpu performance at all(?). Could be(probably) wrong though.


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

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