diff options
author | Naveen Saini <naveen.kumar.saini@intel.com> | 2019-07-01 17:31:55 +0800 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2019-07-04 10:17:36 +0800 |
commit | 41967144c4b29e2ace0e1ec43b49944c0df3cb9f (patch) | |
tree | e9ba0c6d10bf9906d03579fc33ad5d3045ad5369 /recipes-core/mkl-dnn/files | |
parent | cba66dfb7bb96f7b711db8f9c12a325e33af5fd4 (diff) | |
download | meta-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-x | recipes-core/mkl-dnn/files/run-ptest | 15 |
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 | |||
3 | cd tests | ||
4 | ./api-c | ||
5 | if [ $? -eq 0 ]; then | ||
6 | echo 'PASS: api-c' | ||
7 | else | ||
8 | echo 'FAIL: api-c' | ||
9 | fi | ||
10 | ./test_c_symbols-c | ||
11 | if [ $? -eq 0 ]; then | ||
12 | echo 'PASS: test_c_symbols-c' | ||
13 | else | ||
14 | echo 'FAIL: test_c_symbols-c' | ||
15 | fi | ||