Skip to content

[CPU][ARM] AclPoolingExecutor should not use default parameter values if provided ones are incorrect#35110

Merged
EgorDuplensky merged 3 commits intoopenvinotoolkit:masterfrom
alvoron:alvoron_unknown_pooling_alg
Apr 2, 2026
Merged

[CPU][ARM] AclPoolingExecutor should not use default parameter values if provided ones are incorrect#35110
EgorDuplensky merged 3 commits intoopenvinotoolkit:masterfrom
alvoron:alvoron_unknown_pooling_alg

Conversation

@alvoron
Copy link
Copy Markdown
Contributor

@alvoron alvoron commented Apr 1, 2026

Details:

Tickets:

  • ticket-id

@alvoron alvoron requested review from a team as code owners April 1, 2026 13:53
@github-actions github-actions bot added the category: CPU OpenVINO CPU plugin label Apr 1, 2026
@alvoron alvoron added the platform: arm OpenVINO on ARM / ARM64 label Apr 1, 2026
return {PoolingType::MAX, false};
}();
return false;
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can keep the previous version with unnamed lambda and just wrap return type with std::optional.
Then check:

if (!poolTypeOpt) {
return false;
}

pool_type = poolTypeOpt.value();

Also I recommend to get pool type first and then decide on 'exclude_padding'

default:
DEBUG_LOG("Unknown rounding type: ", poolingAttrs.rounding);
return false;
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same idea here

@alvoron alvoron added this to the 2026.2 milestone Apr 2, 2026
@EgorDuplensky EgorDuplensky added this pull request to the merge queue Apr 2, 2026
Merged via the queue into openvinotoolkit:master with commit 35d22f2 Apr 2, 2026
219 of 221 checks passed
@EgorDuplensky EgorDuplensky deleted the alvoron_unknown_pooling_alg branch April 2, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: CPU OpenVINO CPU plugin platform: arm OpenVINO on ARM / ARM64

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants