summaryrefslogtreecommitdiff
path: root/RED/baselines/cpu/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'RED/baselines/cpu/run.sh')
-rwxr-xr-xRED/baselines/cpu/run.sh18
1 files changed, 14 insertions, 4 deletions
diff --git a/RED/baselines/cpu/run.sh b/RED/baselines/cpu/run.sh
index 1707edf..3a0fb09 100755
--- a/RED/baselines/cpu/run.sh
+++ b/RED/baselines/cpu/run.sh
@@ -2,16 +2,26 @@
set -e
+HOST="$(hostname)"
+
+echo $HOST
+
+(
+
echo "prim-benchmarks RED CPU/Thrust (dfatool edition)"
echo "Started at $(date)"
echo "Revision $(git describe --always)"
-for nr_threads in 1 2 4 6 8 12 16 20 24 32; do
+# default: UINT64 -i 1048576000 -t 4
+
+for nr_threads in 88 64 44 1 2 4 6 8 12 16 20 24 32; do
for i in 2048 4096 8192 16384 65536 262144 1048576 3932160 15728640 31457280 262144000 1048576000 2097152000; do
- for dt in UINT32 UINT64 INT32 INT64 FLOAT DOUBLE; do
- if make -B TYPE=${dt}; then
- timeout -k 1m 30m ./red -i ${i} -w 0 -e 100 -t ${nr_threads} || true
+ #for dt in UINT32 UINT64 INT32 INT64 FLOAT DOUBLE; do
+ for dt in UINT64; do
+ if make -B TYPE=${dt} verbose=1; then
+ timeout -k 1m 60m ./red -i ${i} -w 0 -e 100 -t ${nr_threads} || true
fi
done
done
done
+) | tee "${HOST}-explore.txt"