From 59f1d69f7483d51255d752532da83b8279237ef6 Mon Sep 17 00:00:00 2001 From: Mingyu Kim Date: Fri, 28 Jun 2024 20:53:40 +0900 Subject: [PATCH] [GPU] Update onednn to v3.6pc (#25087) --- .../intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp | 6 ++++-- src/plugins/intel_gpu/thirdparty/onednn_gpu | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp b/src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp index c2306bbe1fd5c9..899d4ab29a87de 100644 --- a/src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp +++ b/src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp @@ -103,8 +103,10 @@ struct reorder_onednn : typed_primitive_onednn_impl> prim_cache; _scratchpad_md = _pd.scratchpad_desc(); - - _prim = dnnl::reorder(_pd, prim_cache); + if (prim_cache.size() > 0) + _prim = dnnl::reorder(_pd, prim_cache); + else + _prim = dnnl::reorder(_pd); #endif } diff --git a/src/plugins/intel_gpu/thirdparty/onednn_gpu b/src/plugins/intel_gpu/thirdparty/onednn_gpu index a7ed0bcbdefd0a..a71bea63a5921e 160000 --- a/src/plugins/intel_gpu/thirdparty/onednn_gpu +++ b/src/plugins/intel_gpu/thirdparty/onednn_gpu @@ -1 +1 @@ -Subproject commit a7ed0bcbdefd0accc2c59d3030b7f8b21af12f6b +Subproject commit a71bea63a5921e8bf6a5b9c7bb464d9d034d1b69