-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgpuowl-bench.sh
More file actions
26 lines (19 loc) · 851 Bytes
/
Copy pathgpuowl-bench.sh
File metadata and controls
26 lines (19 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
set -o xtrace
# For each gpu model run this script changing the first argument to reflect hardware name;
# The loop number is the second argument: 10 = 1 million iterations per exponent;
# Keep gpuowl.log
# For amdgpu-pro a change is required: -use NO_ASM
cd gpuowl-bench
COUNTER=0
while [ $COUNTER -lt $2 ]; do
echo GPU PRP benchmark loop $COUNTER is running now.
echo ***********************************************
# First GIMPS discovered Mersenne prime
./gpuowl -prp 1398269 -iters 100000 -log 5000 -cpu $1 -results bench-1398269-$1-$COUNTER.txt
# Last known Mersenne prime
./gpuowl -prp 82589933 -iters 100000 -log 5000 -cpu $1 -results bench-82589933-$1-$COUNTER.txt
# Largest SEL computed exponent
./gpuowl -prp 333689743 -iters 100000 -log 5000 -cpu $1 -results bench-332412937-$1-$COUNTER.txt
let COUNTER=COUNTER+1
done