aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuan Zhao2019-12-07 23:45:31 -0600
committerYuan Zhao2019-12-07 23:45:31 -0600
commitc93bb43c1144096def3d99f205da6950162af566 (patch)
treea076ce6538fe50878a2405def783c8d6157aaeee
parentb6f270dc30b4583c4928ee34d48a92f5caad0209 (diff)
parent21faf4b36a0ae9ee5b5c6aaf90d067728ff4f78b (diff)
downloadtidl-api-c93bb43c1144096def3d99f205da6950162af566.tar.gz
tidl-api-c93bb43c1144096def3d99f205da6950162af566.tar.xz
tidl-api-c93bb43c1144096def3d99f205da6950162af566.zip
Merge tag 'v01.04.00' into develop
TIDL-API v01.04.00 for Processor SDK 6.2
-rw-r--r--docs/source/changelog.rst9
-rwxr-xr-xexamples/classification/detect_eves_dsps.sh7
-rwxr-xr-xexamples/mcbench/scripts/all_5728.sh1
-rwxr-xr-xexamples/mcbench/scripts/all_5729.sh14
-rwxr-xr-xexamples/mcbench/scripts/all_5749.sh1
5 files changed, 32 insertions, 0 deletions
diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst
index ed33397..38910d8 100644
--- a/docs/source/changelog.rst
+++ b/docs/source/changelog.rst
@@ -2,6 +2,12 @@
2Changelog 2Changelog
3######### 3#########
4 4
51.4.0 [Processor Linux SDK 6.2]
6===============================
7**Added**
8
9#. Subgraph execution support.
10
51.3.3 [Processor Linux SDK 6.1] 111.3.3 [Processor Linux SDK 6.1]
6=============================== 12===============================
7**Added** 13**Added**
@@ -10,6 +16,9 @@ Changelog
10 16
11#. Added MobileNet v2 support. 17#. Added MobileNet v2 support.
12 18
19#. Added environment variables to control pre-allocated network memory sizes.
20 TIDL_{PARAM,NETWORK}_HEAP_SIZE_{DSP,EVE}
21
13**Changed** 22**Changed**
14 23
15#. Trace data now also include dataQ/minValue/maxValue info. 24#. Trace data now also include dataQ/minValue/maxValue info.
diff --git a/examples/classification/detect_eves_dsps.sh b/examples/classification/detect_eves_dsps.sh
new file mode 100755
index 0000000..aafd904
--- /dev/null
+++ b/examples/classification/detect_eves_dsps.sh
@@ -0,0 +1,7 @@
1# Script to detect number of available EVEs, DSPs, and CMEM memory
2export numeve=$(/usr/share/ti/examples/opencl/platforms/platforms | grep "Embedded Vision Engine" | wc -l)
3export numdsp=$(find /proc/device-tree/ocp/ -name "dsp_system*" | wc -l)
4export cmemsize=$(cat /proc/cmem | grep "Block 0: Pool 0:" | cut -d ' ' -f8)
5echo "Number of EVEs:${numeve}"
6echo "Number of DSPs:${numdsp}"
7echo "CMEM size:${cmemsize}"
diff --git a/examples/mcbench/scripts/all_5728.sh b/examples/mcbench/scripts/all_5728.sh
index ed996be..c286297 100755
--- a/examples/mcbench/scripts/all_5728.sh
+++ b/examples/mcbench/scripts/all_5728.sh
@@ -1,3 +1,4 @@
1# Set of TIDL benchmarking test cases for AM5728 SoC, with 2xDSP and no EVE devices
1./mcbench -g 1 -d 2 -e 0 -c ../test/testvecs/config/infer/tidl_config_mobileNet1.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y 2./mcbench -g 1 -d 2 -e 0 -c ../test/testvecs/config/infer/tidl_config_mobileNet1.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y
2./mcbench -g 1 -d 2 -e 0 -c ../test/testvecs/config/infer/tidl_config_mobileNet2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y 3./mcbench -g 1 -d 2 -e 0 -c ../test/testvecs/config/infer/tidl_config_mobileNet2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y
3./mcbench -g 1 -d 2 -e 0 -c ../test/testvecs/config/infer/tidl_config_squeeze1_1.txt -f 50 -i ../test/testvecs/input/preproc_1_227x227_multi.y 4./mcbench -g 1 -d 2 -e 0 -c ../test/testvecs/config/infer/tidl_config_squeeze1_1.txt -f 50 -i ../test/testvecs/input/preproc_1_227x227_multi.y
diff --git a/examples/mcbench/scripts/all_5729.sh b/examples/mcbench/scripts/all_5729.sh
new file mode 100755
index 0000000..defec72
--- /dev/null
+++ b/examples/mcbench/scripts/all_5729.sh
@@ -0,0 +1,14 @@
1# Set of TIDL benchmarking test cases for AM5729 SoC, with 2xDSP and 4xEVE
2export TIDL_NETWORK_HEAP_SIZE_EVE=56623104
3export TIDL_NETWORK_HEAP_SIZE_DSP=56623104
4./mcbench -g 1 -d 2 -e 4 -c ../test/testvecs/config/infer/tidl_config_j11_v2.txt -f 50 -i ../test/testvecs/input/preproc_0_224x224_multi.y
5./mcbench -g 1 -d 2 -e 4 -c ../test/testvecs/config/infer/tidl_config_j11_v2_dense.txt -f 50 -i ../test/testvecs/input/preproc_0_224x224_multi.y
6
7export TIDL_NETWORK_HEAP_SIZE_EVE=67108864
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
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
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
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
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
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
diff --git a/examples/mcbench/scripts/all_5749.sh b/examples/mcbench/scripts/all_5749.sh
index 8956373..7f8879a 100755
--- a/examples/mcbench/scripts/all_5749.sh
+++ b/examples/mcbench/scripts/all_5749.sh
@@ -1,3 +1,4 @@
1# Set of TIDL benchmarking test cases for AM5749 SoC, with 2xDSP and 2xEVE
1./mcbench -g 1 -d 0 -e 2 -c ../test/testvecs/config/infer/tidl_config_mobileNet1.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y 2./mcbench -g 1 -d 0 -e 2 -c ../test/testvecs/config/infer/tidl_config_mobileNet1.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y
2./mcbench -g 1 -d 2 -e 0 -c ../test/testvecs/config/infer/tidl_config_mobileNet1.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y 3./mcbench -g 1 -d 2 -e 0 -c ../test/testvecs/config/infer/tidl_config_mobileNet1.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y
3./mcbench -g 2 -d 1 -e 2 -c ../test/testvecs/config/infer/tidl_config_mobileNet1_lg2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y 4./mcbench -g 2 -d 1 -e 2 -c ../test/testvecs/config/infer/tidl_config_mobileNet1_lg2.txt -f 50 -i ../test/testvecs/input/preproc_2_224x224_multi.y