diff --git a/src/plugins/intel_gpu/src/graph/graph_optimizer/prepare_buffer_fusing.cpp b/src/plugins/intel_gpu/src/graph/graph_optimizer/prepare_buffer_fusing.cpp index e7566fd414c5dc..ee0d6712450bbd 100644 --- a/src/plugins/intel_gpu/src/graph/graph_optimizer/prepare_buffer_fusing.cpp +++ b/src/plugins/intel_gpu/src/graph/graph_optimizer/prepare_buffer_fusing.cpp @@ -68,7 +68,7 @@ auto available_pred = [](const program_node& input) { !input.is_type() && !input.is_type() && !input.is_type() && !input.is_type() && !input.is_type() && !input.is_type() && !input.is_type() && !(input.is_type() && !input.as().is_rotating_except_batch()) && - !input.is_type()) + !input.is_type() && !input.is_type()) return false; return true; }; @@ -158,10 +158,10 @@ bool concat_in_place_optimization::match(const program_node& concat_node, } } // TODO: handle optimized reshape - if (pred.first->is_type() && pred.first->can_be_optimized()) { - GPU_DEBUG_TRACE_DETAIL << "[prepare_buffer_fusing_match_fail] : " << pred.first->id() << " , " << concat_node.id() << std::endl; - return false; - } + // if (pred.first->is_type() && pred.first->can_be_optimized()) { + // GPU_DEBUG_TRACE_DETAIL << "[prepare_buffer_fusing_match_fail] : " << pred.first->id() << " , " << concat_node.id() << std::endl; + // return false; + // } // TODO: Investigate if this condition is needed if (pred.first->get_users().size() > 2) { GPU_DEBUG_TRACE_DETAIL << "[prepare_buffer_fusing_match_fail] : " << pred.first->id() << " , " << concat_node.id() << std::endl; @@ -179,7 +179,7 @@ bool concat_in_place_optimization::match(const program_node& concat_node, } } // Check that input isn't optimized out non-concatenation. - if (!pred.first->is_type() && pred.first->can_be_optimized()) { + if (!pred.first->is_type() && !pred.first->is_type() && pred.first->can_be_optimized()) { GPU_DEBUG_TRACE_DETAIL << "[prepare_buffer_fusing_match_fail] : " << pred.first->id() << " , " << concat_node.id() << std::endl; return false; }