-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrun_microbench_randn.sh
executable file
·67 lines (57 loc) · 2.24 KB
/
run_microbench_randn.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#!/usr/bin/env bash
#'''
## *
## * SIDCo - Efficient Statistical-based Compression Technique for Distributed ML.
## *
## * Author: Ahmed Mohamed Abdelmoniem Sayed, <[email protected], github:ahmedcs>
## *
## * This program is free software; you can redistribute it and/or
## * modify it under the terms of CRAPL LICENCE avaliable at
## * http://matt.might.net/articles/crapl/
## * http://matt.might.net/articles/crapl/CRAPL-LICENSE.txt
## *
## * This program is distributed in the hope that it will be useful, but
## * WITHOUT ANY WARRANTY; without even the implied warranty of
## * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
## * See the CRAPL LICENSE for more details.
## *
## * Please READ carefully the attached README and LICENCE file with this software
## *
## '''
size=1
#CPU
python microbenchmark.py --ratio=0.1 --no-cuda --size=$size
python microbenchmark.py --ratio=0.01 --no-cuda --size=$size
python microbenchmark.py --ratio=0.001 --no-cuda --size=$size
#CUDA
python microbenchmark.py --ratio=0.1 --size=$size
python microbenchmark.py --ratio=0.01 --size=$size
python microbenchmark.py --ratio=0.001 --size=$size
size=10
#CPU
python microbenchmark.py --ratio=0.1 --no-cuda --size=$size
python microbenchmark.py --ratio=0.01 --no-cuda --size=$size
python microbenchmark.py --ratio=0.001 --no-cuda --size=$size
#CUDA
python microbenchmark.py --ratio=0.1 --size=$size
python microbenchmark.py --ratio=0.01 --size=$size
python microbenchmark.py --ratio=0.001 --size=$size
size=100
#CPU
python microbenchmark.py --ratio=0.1 --no-cuda --size=$size
python microbenchmark.py --ratio=0.01 --no-cuda --size=$size
python microbenchmark.py --ratio=0.001 --no-cuda --size=$size
#CUDA
python microbenchmark.py --ratio=0.1 --size=$size
python microbenchmark.py --ratio=0.01 --size=$size
python microbenchmark.py --ratio=0.001 --size=$size
#size=1000
#
##CPU
#python microbenchmark.py --ratio=0.1 --no-cuda --size=$size
#python microbenchmark.py --ratio=0.01 --no-cuda --size=$size
#python microbenchmark.py --ratio=0.001 --no-cuda --size=$size
##CUDA
#python microbenchmark.py --ratio=0.1 --size=$size
#python microbenchmark.py --ratio=0.01 --size=$size
#python microbenchmark.py --ratio=0.001 --size=$size