aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaleb Robey2020-01-07 09:15:40 -0600
committerCaleb Robey2020-01-07 10:20:22 -0600
commitcf76aac1c24d6745a47357b36ec28a7fc228615b (patch)
tree2e3506e06c40069f5f2a39b1e7f357875d397f74
parent261cf8381e359dc4d5752f163f1074f024742577 (diff)
downloadtidl-api-cf76aac1c24d6745a47357b36ec28a7fc228615b.tar.gz
tidl-api-cf76aac1c24d6745a47357b36ec28a7fc228615b.tar.xz
tidl-api-cf76aac1c24d6745a47357b36ec28a7fc228615b.zip
replace 2 dsp + 2 group layer use cases with 1 dsp
reference to PLSDK-3189. The BBAI only has enough CMEM for 4 EVEs, 1 DSP, and 2 group layers. In the case of all of our networks, the difference between 1 and 2 dsps is essentially nonexistent. The following is the benchmarks run side by side: CMDLINE: ./mcbench -g 1 -d 2 -e 4 -c ../test/testvecs/config/ CMDLINE: ./mcbench -g 1 -d 2 -e 4 -c ../test/testvecs/config/ Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Loop total time: 1189ms Loop total time: 1189ms FPS:42.06 FPS:42.06 mcbench PASSED mcbench PASSED CMDLINE: ./mcbench -g 1 -d 2 -e 4 -c ../test/testvecs/config/ CMDLINE: ./mcbench -g 1 -d 2 -e 4 -c ../test/testvecs/config/ Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Loop total time: 3066ms Loop total time: 3066ms FPS:16.31 FPS:16.31 mcbench PASSED mcbench PASSED CMDLINE: ./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/ | CMDLINE: ./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/ Input: ../test/testvecs/input/preproc_2_224x224_multi.y frame Input: ../test/testvecs/input/preproc_2_224x224_multi.y frame Loop total time: 1822ms | Loop total time: 1835ms FPS:27.44 | FPS:27.24 mcbench PASSED mcbench PASSED CMDLINE: ./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/ | CMDLINE: ./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/ Input: ../test/testvecs/input/preproc_2_224x224_multi.y frame Input: ../test/testvecs/input/preproc_2_224x224_multi.y frame Loop total time: 1823ms | Loop total time: 1841ms FPS:27.42 | FPS:27.16 mcbench PASSED mcbench PASSED CMDLINE: ./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/ | CMDLINE: ./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/ Input: ../test/testvecs/input/preproc_2_224x224_multi.y frame Input: ../test/testvecs/input/preproc_2_224x224_multi.y frame Loop total time: 1793ms | Loop total time: 1817ms FPS:27.89 | FPS:27.52 mcbench PASSED mcbench PASSED CMDLINE: ./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/ | CMDLINE: ./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/ Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Loop total time: 4269ms | Loop total time: 4285ms FPS:11.71 | FPS:11.67 mcbench PASSED mcbench PASSED CMDLINE: ./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/ | CMDLINE: ./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/ Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Loop total time: 892.9ms | Loop total time: 915ms FPS:55.99 | FPS:54.64 mcbench PASSED mcbench PASSED CMDLINE: ./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/ | CMDLINE: ./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/ Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Input: ../test/testvecs/input/preproc_0_224x224_multi.y frame Loop total time: 2008ms | Loop total time: 2014ms FPS:24.9 | FPS:24.82 mcbench PASSED mcbench PASSED
-rwxr-xr-xexamples/mcbench/scripts/all_5729.sh9
1 files changed, 4 insertions, 5 deletions
diff --git a/examples/mcbench/scripts/all_5729.sh b/examples/mcbench/scripts/all_5729.sh
index defec72..0fee8a1 100755
--- a/examples/mcbench/scripts/all_5729.sh
+++ b/examples/mcbench/scripts/all_5729.sh
@@ -7,8 +7,7 @@ export TIDL_NETWORK_HEAP_SIZE_DSP=56623104
7export TIDL_NETWORK_HEAP_SIZE_EVE=67108864 7export TIDL_NETWORK_HEAP_SIZE_EVE=67108864
8export TIDL_NETWORK_HEAP_SIZE_DSP=8388608 8export TIDL_NETWORK_HEAP_SIZE_DSP=8388608
9./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/infer/tidl_config_mobileNet1_lg2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y 9./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/infer/tidl_config_mobileNet1_lg2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y
10./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/infer/tidl_config_mobileNet1_lg2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y 10./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/infer/tidl_config_mobileNet2_lg2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y
11./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/infer/tidl_config_mobileNet2_lg2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y 11./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/infer/tidl_config_inceptionNetv1_lg2.txt -f 50 -i ../test/testvecs/input/preproc_0_224x224_multi.y
12./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/infer/tidl_config_inceptionNetv1_lg2.txt -f 50 -i ../test/testvecs/input/preproc_0_224x224_multi.y 12./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/infer/tidl_config_j11_v2_lg2.txt -f 50 -i ../test/testvecs/input/preproc_0_224x224_multi.y
13./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/infer/tidl_config_j11_v2_lg2.txt -f 50 -i ../test/testvecs/input/preproc_0_224x224_multi.y 13./mcbench -g 2 -d 1 -e 4 -c ../test/testvecs/config/infer/tidl_config_j11_v2_dense_lg2.txt -f 50 -i ../test/testvecs/input/preproc_0_224x224_multi.y
14./mcbench -g 2 -d 2 -e 4 -c ../test/testvecs/config/infer/tidl_config_j11_v2_dense_lg2.txt -f 50 -i ../test/testvecs/input/preproc_0_224x224_multi.y