Skip to content

Commit

Permalink
[CPU]Fix heap buffer overflow in DenormalNullifyCheck (openvinotoolki…
Browse files Browse the repository at this point in the history
…t#27047)

### Details:
 - *try to fix the SEH abort in windows test*


### Tickets:
 - *CVS-150527*
  • Loading branch information
zhangYiIntel authored Oct 15, 2024
1 parent 03773f7 commit 01ceeb8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ void SetUp() override {
targetStaticShapes.push_back({inpShape});
targetDevice = ov::test::utils::DEVICE_CPU;

const auto elemsCount = shape_size(inpShape);
const auto rtPrc = ov::element::f32;
const auto elemsCount = shape_size(inpShape) * rtPrc.size();
ov::ParameterVector params {std::make_shared<ov::op::v0::Parameter>(rtPrc, ov::Shape(inpShape))};
pConstStorage.reset(new ov::AlignedBuffer(elemsCount, alignment));

Expand Down

0 comments on commit 01ceeb8

Please sign in to comment.