[neurun] Enable Test DataflowExecutor (#4924)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Thu, 4 Apr 2019 04:54:59 +0000 (13:54 +0900)
committer이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>
Thu, 4 Apr 2019 04:54:59 +0000 (13:54 +0900)
Enable Test DataflowExecutor for both acl_cl and cpu.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
scripts/standalone/test_arm_neurun_acl_cl.sh
scripts/standalone/test_arm_neurun_cpu.sh

index f3556cf..094fc3f 100755 (executable)
@@ -18,6 +18,13 @@ pushd $ROOT_PATH > /dev/null
 export OP_BACKEND_ALLOPS=acl_cl
 
 cp -v ./Product/out/unittest/nnapi_gtest.skip.armv7l-linux.neurun ./Product/out/unittest/nnapi_gtest.skip
+export EXECUTOR=Linear
+source ./tests/scripts/test_driver.sh \
+        --frameworktest_list_file=tests/scripts/neurun_frameworktest_list.armv7l.acl_cl.txt \
+        --ldlibrarypath="$ROOT_PATH/Product/out/lib/neurun:$ROOT_PATH/Product/out/lib" \
+        --reportdir="$ROOT_PATH/report/acl_cl" .
+
+export EXECUTOR=Dataflow
 source ./tests/scripts/test_driver.sh \
         --frameworktest_list_file=tests/scripts/neurun_frameworktest_list.armv7l.acl_cl.txt \
         --ldlibrarypath="$ROOT_PATH/Product/out/lib/neurun:$ROOT_PATH/Product/out/lib" \
index 8e9fbe7..11513d3 100755 (executable)
@@ -18,6 +18,13 @@ pushd $ROOT_PATH > /dev/null
 export OP_BACKEND_ALLOPS=cpu
 
 cp -v ./Product/out/unittest/nnapi_gtest.skip.armv7l-linux.neurun.cpu ./Product/out/unittest/nnapi_gtest.skip
+export EXECUTOR=Linear
+source ./tests/scripts/test_driver.sh \
+        --frameworktest_list_file=tests/scripts/neurun_frameworktest_list.armv7l.cpu.txt \
+        --ldlibrarypath="$ROOT_PATH/Product/out/lib/neurun:$ROOT_PATH/Product/out/lib" \
+        --reportdir="$ROOT_PATH/report/cpu" .
+
+export EXECUTOR=Dataflow
 source ./tests/scripts/test_driver.sh \
         --frameworktest_list_file=tests/scripts/neurun_frameworktest_list.armv7l.cpu.txt \
         --ldlibrarypath="$ROOT_PATH/Product/out/lib/neurun:$ROOT_PATH/Product/out/lib" \