Add SVE2 optimizations for SynetConvolution16bNhwcSpecV0 - #853
Merged
ermig1979 merged 1 commit intoAug 13, 2026
Conversation
Port NHWC SpecV0 bf16 convolution to SVE/SVE2/SVE-BF16 with svbfdot microkernels, wire SynetConvolution16bInit dispatch, 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 07:20
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::SynetConvolution16bNhwcSpecV0on ARM/ARM64.SimdSve2SynetConvolution16bNhwcSpecV0.cpp— convert/reorder preprocess, 2×M convolution microkernels (F=svcntw(),microS=5,microC=F*2) withsvbfdot, and Term16b postprocessSve2::SynetConvolution16bInitselectsSve2::SynetConvolution16bNhwcSpecV0when preferable (replacing the previous Neon SpecV0 fallback)Sve2::SynetConvolution16bNhwcSpecV0inSimdSynetConvolution16b.hTestSynetConvolution16b.cppSve2.vcxproj/.filtersdocs/2026.htmlTest plan
SIMD_SVE2=ON(aarch64-linux-gnu-g++,-march=armv9-a+sve+sve2+i8mm+bf16)-cpu max,sve128=on):./Test "-r=.." -fi=SynetConvolution16b -tt=1 -ts=1NEON SVE(128) SVE2 SVE-I8MM SVE-BF16; API path timings match Sve2 column (including SpecV0 3×3 / 5×5 shapes such as112x3x3,128x20x20-96x3x3,192x5x5)