Add a boost to NNAPI DarwiNN HAL for better perf&power
See http://shortn/_X7vYHND2xN for testing with various NN models faster execution of NNAPI results in less execution time and in turn, less total power consumed. Bug: 183576817 Test: adb push'd rc file to a device `cat /dev/cpuctl/nnapi-hal/cpu.uclamp.min` == 15.00 ran MLPerf, got better scores Change-Id: I398c3741fc46958f95a9b608a27b52da47c69597
This commit is contained in:
parent
f65dc0799c
commit
8ac9fa6194
1 changed files with 3 additions and 0 deletions
|
@ -178,6 +178,9 @@ on init
|
|||
# start watchdogd
|
||||
start watchdogd
|
||||
|
||||
# Add a boost for NNAPI HAL
|
||||
write /dev/cpuctl/nnapi-hal/cpu.uclamp.min 15
|
||||
|
||||
# For GKI kernel, no device specific modules
|
||||
on init
|
||||
setprop vendor.device.modules.ready 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue