Skip to content

Commit e665608

Browse files
committed
make const reference
Signed-off-by: yuan.xiong <yuan.xiong@intel.com>
1 parent 8ec7f59 commit e665608

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ void concat_in_place_optimization::update_in_place_concat_paddings(
320320

321321
// apply concatenation in place optimization
322322
for (auto& pred_layout : preds_layouts) {
323-
auto pshape = pred_layout.get_partial_shape();
323+
const auto& pshape = pred_layout.get_partial_shape();
324324
auto input_length = pshape[concat_axis].get_length();
325325

326326
// shrink upper pad so it points at the end of the input's buffer

0 commit comments

Comments
 (0)