chundoong-lab-ta/SamsungDS22/submissions/final/gyeongmin.ha/A/run_performance.sh

23 lines
489 B
Bash
Executable File

#!/bin/bash
# Default
salloc -N 2 --exclusive \
mpirun --bind-to none -mca btl ^openib -npernode 1 \
numactl --physcpubind 0-39 \
./main -n 10 -p 0 -d 1 -s 1 32 32 128 128 32 16 16
## N C K H W: graetaer than 32, power of 2
#: ${N:=32}
#: ${K:=64}
#: ${C:=64}
#: ${H:=256}
#: ${W:=256}
#
## R S: 16
#: ${R:=16}
#: ${S:=16}
#
## order of parameters: N C H W K R S
#source ./run.sh -d 1 -p 0 -s 1 -n 10 $N $C $H $W $K $R $S $@