-
Notifications
You must be signed in to change notification settings - Fork 1
/
call_testtrmm.sh
executable file
·46 lines (31 loc) · 2.26 KB
/
call_testtrmm.sh
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
k_start=1
k_end=480
k_blocksize=1
# armie -msve-vector-bits=256 -i libinscount_emulated.so -- ./test_bl_dtrmm.x $k $k
# ~/qemu.git/aarch64-linux-user/qemu-aarch64 -cpu max,sve256=on ./test_bl_dtrmm.x $k $k
CMD_PRFX="" #prefix
LOGERR_FILE="logerr.t"
LOGOUT_FILE="logout.t"
rm -rf $LOGERR_FILE $LOGOUT_FILE
for (( k=k_start; k<=k_end; k+=k_blocksize ))
do
BLAS_SIDE='L' BLAS_UPLO='U' BLAS_TRANS='N' BLAS_DIAG='U' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='L' BLAS_UPLO='U' BLAS_TRANS='N' BLAS_DIAG='N' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='L' BLAS_UPLO='U' BLAS_TRANS='T' BLAS_DIAG='U' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='L' BLAS_UPLO='U' BLAS_TRANS='T' BLAS_DIAG='N' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='L' BLAS_UPLO='L' BLAS_TRANS='N' BLAS_DIAG='U' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='L' BLAS_UPLO='L' BLAS_TRANS='N' BLAS_DIAG='N' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='L' BLAS_UPLO='L' BLAS_TRANS='T' BLAS_DIAG='U' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='L' BLAS_UPLO='L' BLAS_TRANS='T' BLAS_DIAG='N' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='R' BLAS_UPLO='U' BLAS_TRANS='N' BLAS_DIAG='U' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='R' BLAS_UPLO='U' BLAS_TRANS='N' BLAS_DIAG='N' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='R' BLAS_UPLO='U' BLAS_TRANS='T' BLAS_DIAG='U' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='R' BLAS_UPLO='U' BLAS_TRANS='T' BLAS_DIAG='N' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='R' BLAS_UPLO='L' BLAS_TRANS='N' BLAS_DIAG='U' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='R' BLAS_UPLO='L' BLAS_TRANS='N' BLAS_DIAG='N' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='R' BLAS_UPLO='L' BLAS_TRANS='T' BLAS_DIAG='U' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
BLAS_SIDE='R' BLAS_UPLO='L' BLAS_TRANS='T' BLAS_DIAG='N' $CMD_PRFX ./test_dtrmm $k $k 2>>$LOGERR_FILE 1>>$LOGOUT_FILE
done
echo "END" >>$LOGERR_FILE
echo "END"