Add SVE2 optimizations for SynetConvolution16bNhwcDepthwise - #851
Merged
Conversation
Port the NHWC depthwise bf16 path to SVE/SVE2/SVE-BF16 with VL-agnostic default and 3x3 kernels, wire SynetConvolution16bInit dispatch, extend depthwise tests, update VS2022 Sve2 project files, and release 7.2.165 notes. Co-authored-by: Ihar Yermalayeu <igor.ermolaev@altezza.org>
ermig1979
marked this pull request as ready for review
August 13, 2026 05:55
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::SynetConvolution16bNhwcDepthwiseon ARM/ARM64.SimdSve2SynetConvolution16bNhwcDepthwise.cppwith VL-agnostic default depthwise and specialized 3x3 kernels (bf16/f32 src/dst viaLoadSrc+ activation + bf16 store).Sve2::SynetConvolution16bInitto selectSve2::SynetConvolution16bNhwcDepthwisewhen preferable (before NchwGemm / Neon fallback).Sve2::SynetConvolution16bNhwcDepthwiseinSimdSynetConvolution16b.h.Test::SynetConvolution16bAutoTest.prj/vs2022/Sve2.vcxprojand.filters.docs/2026.htmlrelease 7.2.165 notes to include SVE2 for this class.Test plan
AGENTS.md, then frombuild/:export LD_LIBRARY_PATH="$(pwd):$LD_LIBRARY_PATH"./Test "-r=.." -fi=SynetConvolution16b -tt=1 -ts=1Sve2::NhwcDepthwisefor depthwise shapes (e.g. group==srcC) and matches Base within EPS.