gpufreq-set 1.67 KB
Newer Older
German Leon's avatar
German Leon committed
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

sudo bash -c "echo ${1}000 >  /sys/devices/57000000.gpu/devfreq/57000000.gpu/min_freq"
sudo bash -c "echo ${1}000 >  /sys/devices/57000000.gpu/devfreq/57000000.gpu/max_freq"
#################TK1###################
#echo ${1}000 > /sys/kernel/debug/clock/override.gbus/rate
# sudo echo $1 > /sys/kernel/debug/clock/override.gbus/rate

#/usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQuery
#echo "before:" >> /home/happy/rodinia/lud/rad/results/res.out
#cat /sys/kernel/debug/clock/override.gbus/rate >> /home/happy/rodinia/lud/rad/results/res.out

#sudo bash -c "cat /sys/kernel/debug/clock/gbus/max > /sys/kernel/debug/clock/override.gbus/rate"

#echo "After:" >> /home/happy/rodinia/lud/rad/results/res.out
#cat /sys/kernel/debug/clock/gbus/max  >> /home/happy/rodinia/lud/rad/results/res.out 

#sudo bash -c "echo 1 > /sys/kernel/debug/clock/override.gbus/state"

#sudo /home/happy/bin/a.out $1
#sudo bash -c "echo $1 > /sys/kernel/debug/clock/override.gbus/rate"
## TK1 echo ${1}000 > /sys/kernel/debug/clock/override.gbus/rate
#echo ${1}000 > /sys/kernel/debug/clock/override.gbus/rate

#echo "after:" >> /home/happy/rodinia/lud/rad/results/res.out
#cat /sys/kernel/debug/clock/override.gbus/rate >> /home/happy/rodinia/lud/rad/results/res.out

#echo "before:" >> /home/happy/rodinia/lud/rad/results/res.out
#cat /sys/kernel/debug/clock/override.gbus/state >> /home/happy/rodinia/lud/rad/results/res.out

#sudo bash -c "echo 1 > /sys/kernel/debug/clock/override.gbus/state"
## TK1 echo 1 > /sys/kernel/debug/clock/override.gbus/state

#echo "after:" >> /home/happy/rodinia/lud/rad/results/res.out
#cat /sys/kernel/debug/clock/override.gbus/state >> /home/happy/rodinia/lud/rad/results/res.out