Skip to content

Commit 59f1d69

Browse files
authored
[GPU] Update onednn to v3.6pc (#25087)
1 parent 246404d commit 59f1d69

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/plugins/intel_gpu/src/graph/impls/onednn/reorder_onednn.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,10 @@ struct reorder_onednn : typed_primitive_onednn_impl<reorder, dnnl::reorder::prim
103103
ib >> prim_cache;
104104

105105
_scratchpad_md = _pd.scratchpad_desc();
106-
107-
_prim = dnnl::reorder(_pd, prim_cache);
106+
if (prim_cache.size() > 0)
107+
_prim = dnnl::reorder(_pd, prim_cache);
108+
else
109+
_prim = dnnl::reorder(_pd);
108110
#endif
109111
}
110112

0 commit comments

Comments
 (0)