summaryrefslogtreecommitdiffstats
path: root/recipes-core/mkl-dnn/files
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2019-07-01 17:31:55 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2019-07-04 10:17:36 +0800
commit41967144c4b29e2ace0e1ec43b49944c0df3cb9f (patch)
treee9ba0c6d10bf9906d03579fc33ad5d3045ad5369 /recipes-core/mkl-dnn/files
parentcba66dfb7bb96f7b711db8f9c12a325e33af5fd4 (diff)
downloadmeta-intel-41967144c4b29e2ace0e1ec43b49944c0df3cb9f.tar.gz
mkl-dnn: add ptest
Added api-c & test_c_symbols testcases under ptest. Shipping benchdnn, which is a standalone correctness and performance benchmark for Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN). Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'recipes-core/mkl-dnn/files')
-rwxr-xr-xrecipes-core/mkl-dnn/files/run-ptest15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-core/mkl-dnn/files/run-ptest b/recipes-core/mkl-dnn/files/run-ptest
new file mode 100755
index 00000000..82d4df58
--- /dev/null
+++ b/recipes-core/mkl-dnn/files/run-ptest
@@ -0,0 +1,15 @@
1#!/bin/sh
2
3cd tests
4./api-c
5if [ $? -eq 0 ]; then
6 echo 'PASS: api-c'
7else
8 echo 'FAIL: api-c'
9fi
10./test_c_symbols-c
11if [ $? -eq 0 ]; then
12 echo 'PASS: test_c_symbols-c'
13else
14 echo 'FAIL: test_c_symbols-c'
15fi