Skip to content

Add SVE2 optimizations for SynetMergedConvolution16b Cdc/Cd/Dc - #836

Merged
ermig1979 merged 2 commits into
devfrom
cursor/sve2-synet-merged-convolution-16b-70b4
Aug 10, 2026
Merged

Add SVE2 optimizations for SynetMergedConvolution16b Cdc/Cd/Dc#836
ermig1979 merged 2 commits into
devfrom
cursor/sve2-synet-merged-convolution-16b-70b4

Conversation

@ermig1979

@ermig1979 ermig1979 commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add SVE2/SVE-BF16 optimizations for SynetMergedConvolution16bCdc, SynetMergedConvolution16bCd, and SynetMergedConvolution16bDc (Input/Depthwise/Output kernels using svbfdot_f32 where applicable).
  • Wire SimdSynetMergedConvolution16bInit dispatch and Test::SynetMergedConvolution16bAutoTest for SVE2.
  • Update prj/vs2022/Sve2.vcxproj(.filters) and document NEON/SVE2 MergedConvolution16b entries under release 7.2.165 in docs/2026.html.

Validation

  • Cross-compiled Simd and Test for aarch64 with -DSIMD_SVE2=ON (aarch64-linux-gnu-g++, -march=armv9-a+sve+sve2+i8mm+bf16); both targets built successfully.
  • Runtime SVE2 correctness/perf checks need ARM64 SVE2 hardware (./Test "-r=.." -fi=SynetMergedConvolution16b -tt=1 -ts=1).
Open in Web Open in Cursor 

cursoragent and others added 2 commits August 10, 2026 11:00
Port MergedConvolution16b Input/Depthwise/Output kernels to SVE2/SVE-BF16
for ARM/ARM64, wire Init dispatch and tests, update VS project files, and
document the change in release 7.2.165.

Co-authored-by: Ihar Yermalayeu <ermig1979@gmail.com>
Avoid arrays/pointers of svfloat32_t (invalid for SVE sizeless types),
pass bias/params by value, and keep Float32ToBFloat16 local to prevent
redefinition with other SVE2 16b kernels.

Co-authored-by: Ihar Yermalayeu <ermig1979@gmail.com>
@ermig1979
ermig1979 marked this pull request as ready for review August 10, 2026 11:13
@ermig1979
ermig1979 merged commit 0dff8db into dev Aug 10, 2026
1 check passed
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