Skip to content

Commit

Permalink
[GPU] Fix broadcast save/load impls (openvinotoolkit#26582)
Browse files Browse the repository at this point in the history
### Details:
- Fixes sporadic crash of
`KVCacheTests.smoke_multipleIterations_stateful_gather_with_initializer_cached`
test

### Jira
 - https://jira.devtools.intel.com/browse/CVS-133748
  • Loading branch information
vladimir-paramuzov authored Sep 13, 2024
1 parent 577a099 commit c9288cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/intel_gpu/src/graph/impls/cpu/broadcast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ struct broadcast_impl : public typed_primitive_impl<broadcast> {
void save(BinaryOutputBuffer& ob) const override {
parent::save(ob);
ob << make_data(&broadcast_mode, sizeof(ov::op::BroadcastModeSpec));
ob << make_data(&target_shape, sizeof(ov::Shape));
ob << target_shape;
ob << axes_mapping;
}

void load(BinaryInputBuffer& ib) override {
parent::load(ib);
ib >> make_data(&broadcast_mode, sizeof(ov::op::BroadcastModeSpec));
ib >> make_data(&target_shape, sizeof(ov::Shape));
ib >> target_shape;
ib >> axes_mapping;
}

Expand Down

0 comments on commit c9288cc

Please sign in to comment.