Skip to content

fix(dnnl): Remove unused zero-point size calculation - #34196

Open
Airat Makhmutov (rautyrauty) wants to merge 1 commit into
microsoft:mainfrom
rautyrauty:fix/dnnl-unused-zero-point-size
Open

Airat Makhmutov (rautyrauty) wants to merge 1 commit into
microsoft:mainfrom
rautyrauty:fix/dnnl-unused-zero-point-size

Conversation

@rautyrauty

Copy link
Copy Markdown

GCC 16 rejects the unused accumulator under -Werror.

Fixes: 11f0a0a ("Convert graph initializers into OrtValue Phase I (#23979)")

GCC 16 rejects the unused accumulator under -Werror.

Fixes: 11f0a0a ("Convert graph initializers into OrtValue Phase I (microsoft#23979)")
Copilot AI balanced review requested due to automatic review settings November 13, 2026 16:15
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

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.

🟢 Approval recommended

No active review issues remain for the change removing the unused zero-point size calculation.

No open issues 🎉

What changed in this PR

Removes an unused zero-point element-count calculation from the oneDNN graph transformer to address GCC 16 builds failing under -Werror.

Changes:

  • Deletes the unused dimension variables and accumulator loop in RemoveMatMulIntegerZP, leaving the zero-point validation unchanged.

No actionable findings.

File Description
onnxruntime/​core/​providers/​dnnl/​subgraph/​dnnl_subgraph_transformer.cc Removes the unused zero-point size calculation.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants