preda / gpuowl

GPU Mersenne primality test.
GNU General Public License v3.0
163 stars 39 forks source link

Feature/Flag for Output Stepping #260

Closed bjver86 closed 1 year ago

bjver86 commented 2 years ago

+Added config flag "-prt" & variable "prtStep" (Args.cpp / Args.h) +Added "-prt" flag to ReadMe, and updated "-log" description to clarify behavior. +/- Replaced ( k % 10000 ) with ( k % args.prtStep ) to bind frequency of interim log output between calls to "doCheck" (Gpu.cpp: ln 1704) +/- Switched log output format for uniformity (Gpu.cpp: ln.1706 more uniform than ln.1707)

Feature: Print Step control, if specified, to condense Gpuowl output (if desired -- as I desired) in between PRP Check Steps. Selected interim output that is most uniform to the PRP check output line (column lineup, etc).