diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2023-06-02 15:24:54 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2023-06-02 15:24:54 +0200 |
commit | f438d54780af4ae90638f5d57acdd5e98d6596e9 (patch) | |
tree | e85b37a9dbcfe542dd6cf975c58b3825ad4ff141 | |
parent | 80e965ed9678192ad205979ce9a9af9f8c89a6db (diff) |
VA cpu: limit to DPU type
-rwxr-xr-x | VA/baselines/cpu/run.sh | 3 | ||||
-rwxr-xr-x | VA/run-paper-strong-rank.sh | 2 | ||||
-rwxr-xr-x | VA/run-paper-weak.sh | 9 |
3 files changed, 9 insertions, 5 deletions
diff --git a/VA/baselines/cpu/run.sh b/VA/baselines/cpu/run.sh index 147a485..1b3d1e0 100755 --- a/VA/baselines/cpu/run.sh +++ b/VA/baselines/cpu/run.sh @@ -18,7 +18,8 @@ echo "Revision $(git describe --always)" for nr_threads in 88 64 44 1 2 4 6 8 12 16 20 24 32; do for i in 16777216 8388608 4194304 33554432 67108864; do - for dt in int8_t int16_t int32_t int64_t float double; do + #for dt in int8_t int16_t int32_t int64_t float double; do + for dt in int32_t; do if make -B TYPE=${dt}; then # -w 1 to make sure that target array (C) is allocated timeout -k 1m 30m ./va -i ${i} -w 1 -e 100 -t ${nr_threads} -x 1 || true diff --git a/VA/run-paper-strong-rank.sh b/VA/run-paper-strong-rank.sh index d951049..6ecaac4 100755 --- a/VA/run-paper-strong-rank.sh +++ b/VA/run-paper-strong-rank.sh @@ -18,7 +18,7 @@ echo "Revision $(git describe --always)" for nr_dpus in 512 256 1 4 16 64; do for nr_tasklets in 1 2 4 8 16; do echo - if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets} BL=10; then + if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets} BL=10 verbose=1; then timeout --foreground -k 1m 30m bin/host_code -w 0 -e 100 -i 2621440 -x 1 || true fi done diff --git a/VA/run-paper-weak.sh b/VA/run-paper-weak.sh index ae15f7e..96589fc 100755 --- a/VA/run-paper-weak.sh +++ b/VA/run-paper-weak.sh @@ -8,16 +8,19 @@ set -e # -e: number of timed iterations # -i; ignored, always uses 262144 elements +( + echo "prim-benchmarks VA weak (dfatool edition)" echo "Started at $(date)" echo "Revision $(git describe --always)" # upstream does not include 256 and 512 in config space -for nr_dpus in 1 4 16 64 256 512; do +for nr_dpus in 512 256 1 4 16 64; do for nr_tasklets in 1 2 4 8 16; do echo - if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets} BL=10; then + if make -B NR_DPUS=${nr_dpus} NR_TASKLETS=${nr_tasklets} BL=10 verbose=1; then timeout --foreground -k 1m 30m bin/host_code -w 0 -e 100 -i 2621440 -x 0 || true fi done -done | tee log-paper-weak.txt +done +) | tee log-paper-weak.txt |