Repository navigation
Conversation
leduclean
force-pushed
the
xx-fill-rvv-ukernel
branch
3 times, most recently
from
August 4, 2026 09:47
b7bfb49 to
c681236
Compare
leduclean
force-pushed
the
xx-fill-rvv-ukernel
branch
from
August 4, 2026 12:36
c681236 to
da9feec
Compare
qukhan
requested changes
Aug 4, 2026
leduclean
force-pushed
the
xx-fill-rvv-ukernel
branch
from
August 5, 2026 08:38
da9feec to
b291b35
Compare
Contributor
Author
|
Thanks for the review! |
qukhan
approved these changes
Aug 17, 2026
leduclean
force-pushed
the
xx-fill-rvv-ukernel
branch
from
September 23, 2026 07:59
b291b35 to
25e27d9
Compare
Contributor
Author
leduclean
force-pushed
the
xx-fill-rvv-ukernel
branch
from
September 26, 2026 16:20
25e27d9 to
9c99f6e
Compare
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
xnn_xx_fill_ukernel__rvv_u4v, an RVV implementation of thexx-fillmicrokernel (fills a buffer with a repeating 32-bit pattern) using LMUL=4, registered in thexx-fillconfig/build files.bench/xx-fill.cc(modeled onbench/xx-pad.cc) to benchmark it against thescalar_u16fallback.LMUL tuning
Tuned empirically on k230 across m8/m4/m2:
m4matchesm8's peak throughput on large shapes while fixingm8's only weak spot (small channel counts).m2trades away large-shape throughput (-21% to -37%) for a bit more on the smallest shape only, a bad trade, not used.Perf
Measured on k230 (single core, 27 MHz), bytes/s, rvv (m4) vs scalar_u16: