Add SVE2 optimizations for SynetConvolution16bNhwcGemmV0 - #852
Merged
Conversation
Port NHWC GEMM bf16 convolution to SVE/SVE2/SVE-BF16 with svbfdot microkernels, wire SynetConvolution16bInit dispatch (keeping Neon SpecV0), extend AutoTests, update VS2022 Sve2 project files, and release 7.2.165 notes. Co-authored-by: igor.ermolaev <igor.ermolaev@altezza.org>
ermig1979
marked this pull request as ready for review
August 13, 2026 06:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds SVE/SVE2/SVE-BF16 optimizations for
Base::SynetConvolution16bNhwcGemmV0on ARM/ARM64.SimdSve2SynetConvolution16bNhwcGemmV0.cpp— convert/reorder, 2×M microkernels (F=svcntw(),microM=5,microK=2) withsvbfdot, Term16b save helpersSve2::SynetConvolution16bInitselectsSve2::SynetConvolution16bNhwcGemmV0when preferable; keeps Neon SpecV0 for shapes where SpecV0 is preferableSve2::SynetConvolution16bNhwcGemmV0inSimdSynetConvolution16b.hTestSynetConvolution16b.cppSve2.vcxproj/.filtersdocs/2026.htmlTest plan
SIMD_SVE2=ON./Test "-r=.." -fi=SynetConvolution16b -tt=1 -ts=1Sve2::NhwcGemmV0for NHWC group=1 (non-SpecV0) shapes and matches Base within EPS