未验证 提交 35b96d48 编写于 作者: J Jacek Czaja 提交者: GitHub

Update of oneDNN to 2.5 (#39426)

* - update of oneDNN to 2.5

* - changes to UT testing onednn verbose

* - Update of oneDNN to 2.5.3

* - update onednn to 2.5.4
上级 e04493de
...@@ -19,7 +19,7 @@ SET(MKLDNN_PREFIX_DIR ${THIRD_PARTY_PATH}/mkldnn) ...@@ -19,7 +19,7 @@ SET(MKLDNN_PREFIX_DIR ${THIRD_PARTY_PATH}/mkldnn)
SET(MKLDNN_INSTALL_DIR ${THIRD_PARTY_PATH}/install/mkldnn) SET(MKLDNN_INSTALL_DIR ${THIRD_PARTY_PATH}/install/mkldnn)
SET(MKLDNN_INC_DIR "${MKLDNN_INSTALL_DIR}/include" CACHE PATH "mkldnn include directory." FORCE) SET(MKLDNN_INC_DIR "${MKLDNN_INSTALL_DIR}/include" CACHE PATH "mkldnn include directory." FORCE)
SET(MKLDNN_REPOSITORY ${GIT_URL}/oneapi-src/oneDNN.git) SET(MKLDNN_REPOSITORY ${GIT_URL}/oneapi-src/oneDNN.git)
SET(MKLDNN_TAG 145c4b50196ac90ec1b946fb80cb5cef6e7d2d35) SET(MKLDNN_TAG 9a35435c18722ff17a48fb60bceac42bfdf78754)
# Introduce variables: # Introduce variables:
......
...@@ -31,9 +31,9 @@ class TestFlagsUseMkldnn(unittest.TestCase): ...@@ -31,9 +31,9 @@ class TestFlagsUseMkldnn(unittest.TestCase):
self.env[str("DNNL_VERBOSE")] = str("1") self.env[str("DNNL_VERBOSE")] = str("1")
self.env[str("FLAGS_use_mkldnn")] = str("1") self.env[str("FLAGS_use_mkldnn")] = str("1")
self.relu_regex = b"^dnnl_verbose,exec,cpu,eltwise,.+alg:eltwise_relu alpha:0 beta:0,10x20x20" self.relu_regex = b"^onednn_verbose,exec,cpu,eltwise,.+alg:eltwise_relu alpha:0 beta:0,10x20x20"
self.ew_add_regex = b"^dnnl_verbose,exec,cpu,binary.+alg:binary_add,10x20x30:10x20x30" self.ew_add_regex = b"^onednn_verbose,exec,cpu,binary.+alg:binary_add,10x20x30:10x20x30"
self.matmul_regex = b"^dnnl_verbose,exec,cpu,matmul,.*10x20x30:10x30x20:10x20x20" self.matmul_regex = b"^onednn_verbose,exec,cpu,matmul,.*10x20x30:10x30x20:10x20x20"
def flags_use_mkl_dnn_common(self, e): def flags_use_mkl_dnn_common(self, e):
cmd = self._python_interp cmd = self._python_interp
......
...@@ -32,7 +32,7 @@ class TestFlagsUseMkldnn(unittest.TestCase): ...@@ -32,7 +32,7 @@ class TestFlagsUseMkldnn(unittest.TestCase):
self.env[str("DNNL_VERBOSE")] = str("1") self.env[str("DNNL_VERBOSE")] = str("1")
self.env[str("FLAGS_use_mkldnn")] = str("1") self.env[str("FLAGS_use_mkldnn")] = str("1")
self.relu_regex = b"^dnnl_verbose,exec,cpu,eltwise,.+alg:eltwise_relu alpha:0 beta:0,10x20x30" self.relu_regex = b"^onednn_verbose,exec,cpu,eltwise,.+alg:eltwise_relu alpha:0 beta:0,10x20x30"
def _print_when_false(self, cond, out, err): def _print_when_false(self, cond, out, err):
if not cond: if not cond:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册