aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYeoh Ee Peng <ee.peng.yeoh@intel.com>2020-04-28 10:58:48 +0800
committerAnuj Mittal <anuj.mittal@intel.com>2020-04-29 15:20:41 +0800
commite25102997df9e803577bcdb1cad8c20ac16e3361 (patch)
tree79909d622076467f2cd89a68ef07275b2999b838
parentdc3d5546e578115684217f2a9610632e814c1b8b (diff)
downloadmeta-intel-e25102997df9e803577bcdb1cad8c20ac16e3361.tar.gz
meta-intel-e25102997df9e803577bcdb1cad8c20ac16e3361.tar.bz2
meta-intel-e25102997df9e803577bcdb1cad8c20ac16e3361.zip
runtime/onednn: Update tests as mkldnn rename to onednn
Update test pakcages checking and referencing as mkldnn rename to onednn. Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
-rw-r--r--lib/oeqa/runtime/cases/mkl_dnn.py10
-rw-r--r--lib/oeqa/runtime/miutils/tests/mkl_dnn_test.py2
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/oeqa/runtime/cases/mkl_dnn.py b/lib/oeqa/runtime/cases/mkl_dnn.py
index c7994b13..c2d3180d 100644
--- a/lib/oeqa/runtime/cases/mkl_dnn.py
+++ b/lib/oeqa/runtime/cases/mkl_dnn.py
@@ -14,9 +14,9 @@ class MklDnn(OERuntimeTestCase):
def tearDownClass(cls):
cls.mkldnntest.tear_down()
- @OEHasPackage(['libdnnl', 'libdnnl1'])
- @OEHasPackage(['libdnnl-src'])
- @OEHasPackage(['libdnnl-dev'])
+ @OEHasPackage(['onednn', 'libdnnl1'])
+ @OEHasPackage(['onednn-src', 'libdnnl-src'])
+ @OEHasPackage(['onednn-dev', 'libdnnl-dev'])
@OEHasPackage(['gcc'])
@OEHasPackage(['gcc-symlinks'])
@OEHasPackage(['libstdc++-dev'])
@@ -25,8 +25,8 @@ class MklDnn(OERuntimeTestCase):
(status, output) = self.mkldnntest.test_mkldnn_can_compile_and_execute()
self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output))
- @OEHasPackage(['mkl-dnn', 'libdnnl1'])
- @OEHasPackage(['mkl-dnn-test', 'libdnnl-test'])
+ @OEHasPackage(['onednn', 'libdnnl1'])
+ @OEHasPackage(['onednn-test', 'libdnnl-test'])
def test_mkldnn_benchdnn_package_available(self):
(status, output) = self.mkldnntest.test_mkldnn_benchdnn_package_available()
self.assertEqual(status, 0, msg='status and output: %s and %s' % (status, output))
diff --git a/lib/oeqa/runtime/miutils/tests/mkl_dnn_test.py b/lib/oeqa/runtime/miutils/tests/mkl_dnn_test.py
index 13afd1a4..41a76025 100644
--- a/lib/oeqa/runtime/miutils/tests/mkl_dnn_test.py
+++ b/lib/oeqa/runtime/miutils/tests/mkl_dnn_test.py
@@ -9,7 +9,7 @@ class MkldnnTest(object):
self.target.run('rm /tmp/%s' % self.mkldnn_target_test_filename)
def test_mkldnn_can_compile_and_execute(self):
- mkldnn_src_dir = '/usr/src/debug/mkl-dnn/'
+ mkldnn_src_dir = '/usr/src/debug/onednn/'
mkldnn_src_test_filename = 'api.c'
mkldnn_src_test_file = ''