-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.sh
executable file
·35 lines (29 loc) · 1.06 KB
/
test.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
#!/bin/bash
if [ ! -n "$1" ] ;then
echo "Need TITLE!"
exit
fi
# clean HERE
make clean
# clean END
make
stamp=`date +%s`
echo " " >> result
echo TITLE: $1 >> result
echo STAMP: $stamp >> result
date >> result
# test HERE
./FYArray.exe | grep "The programe elapsed" >> result
#hpcrun -t -e CPUTIME@5000 -e CYCLES -e INSTRUCTIONS@4000000 -e CACHE-MISSES ./FYArray.exe >> result
#hpcstruct ./FYArray.exe
#hpcprof -S FYArray.exe.hpcstruct -I ./+ hpctoolkit-FYArray.exe-measurements -o "./database-$stamp"
amplxe-cl -collect hotspots -r "r-$stamp-$1-hotspots" -search-dir . ./FYArray.exe
#amplxe-cl -collect memory-consumption -r "r-$stamp-$1-memory-consumption" -search-dir . ./FYArray.exe
#amplxe-cl -collect hpc-performance -r "r-$stamp-$1-hpc-performance" -search-dir . ./FYArray.exe
#amplxe-cl -collect general-exploration -r "r-$stamp-$1-general-exploration" -search-dir . ./FYArray.exe
#amplxe-cl -collect memory-access -r "r-$stamp-$1-memory-access" -search-dir . ./FYArray.exe
# test END
git add --all
git commit -m "AUTO:$1"
git push origin master
cat result