mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   GpuOwl (https://www.mersenneforum.org/forumdisplay.php?f=171)
-   -   -safeMath not recognized (https://www.mersenneforum.org/showthread.php?t=26154)

joejoefla 2020-11-01 20:10

-safeMath not recognized
 
Hi Everyone,

I ran a basic command that includes the -safeMath common argument with 7.1-11. When I upgraded to 7.2-2 I received the error:

[QUOTE]2020-11-01 14:41:13 GpuOwl VERSION v7.2-2-ga135d8d
2020-11-01 14:41:13 Argument '-safeMath' '' not understood
2020-11-01 14:41:13 Exiting because "args"
2020-11-01 14:41:13 Bye[/QUOTE]

I checked out the readme file for 7.2 and it still saw the argument listed. Curious I ran gpuowl-win.exe by itself and got:

[QUOTE]2020-11-01 15:00:05 GeForce GTX 1080-0 104829353 OpenCL args "-DEXP=104829353u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=11u -DCARRY64=1 -DCARRYM64=1 -DMM2_CHAIN=1u -DMAX_ACCURACY=1 -DWEIGHT_STEP_MINUS_1=0xc.4e8e3ea58404p-4 -DIWEIGHT_STEP_MINUS_1=-0xd.e99a47b4101d8p-5 -cl-std=CL2.0 -cl-finite-math-only "[/QUOTE]

What was interesting was -cl-unsafe-math-optimizations didn't appear. I ran gpuowl-win.exe from 7.1-11 byitself and got this:

[QUOTE]2020-11-01 15:00:23 GeForce GTX 1080-0 104829353 OpenCL args "-DEXP=104829353u -DWIDTH=1024u -DSMALL_HEIGHT=256u -DMIDDLE=11u -DCARRY64=1 -DCARRYM64=1 -DMM2_CHAIN=1u -DMAX_ACCURACY=1 -DWEIGHT_STEP_MINUS_1=0xc.4e8e3ea58404p-4 -DIWEIGHT_STEP_MINUS_1=-0xd.e99a47b4101d8p-5 [B]-cl-unsafe-math-optimizations[/B] -cl-std=CL2.0 -cl-finite-math-only "[/QUOTE]

I'm thinking -safeMath is enabled by default in v7.2?

I wanted to let someone know because there might be a discrepancy in the readme file.

preda 2020-11-01 20:40

[QUOTE=joejoefla;561863]Hi Everyone,

I ran a basic command that includes the -safeMath common argument with 7.1-11. When I upgraded to 7.2-2 I received the error:



I checked out the readme file for 7.2 and it still saw the argument listed. Curious I ran gpuowl-win.exe by itself and got:



What was interesting was -cl-unsafe-math-optimizations didn't appear. I ran gpuowl-win.exe from 7.1-11 byitself and got this:



I'm thinking -safeMath is enabled by default in v7.2?

I wanted to let someone know because there might be a discrepancy in the readme file.[/QUOTE]

Yes -safeMath is enabled by default. See in help (-h), there is now -unsafeMath to disable it. Basically the default was flipped.

joejoefla 2020-11-01 22:20

[QUOTE=preda;561868]Yes -safeMath is enabled by default. See in help (-h), there is now -unsafeMath to disable it. Basically the default was flipped.[/QUOTE]

Tanks Preda!. :smile: I didn't think about running it with -h.


All times are UTC. The time now is 02:38.

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