Skip to content

Commit 87c4196

Browse files
Apply for concat and blocked format
1 parent bba792c commit 87c4196

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins/intel_gpu/src/graph/graph_optimizer/basic_memory_dependencies.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ void basic_memory_dependencies::run(program& p) {
6161
}
6262

6363
// onednn concatenation doesn't support non-zero padding which can occur for unaligned feature.
64-
if (node->is_type<concatenation>()) {
64+
if (node->is_type<concatenation>() && format::is_blocked(node->get_output_layout().format)) {
6565
node->can_share_buffer(false);
6666
for (auto& dep : node->get_dependencies()) {
6767
dep.first->can_share_buffer(false);

0 commit comments

Comments
 (0)