Add f32-ibilinear-chw microkernel benchmark - #10770
Draft
leduclean wants to merge 1 commit into
Draft
Conversation
This microkernel family had no benchmark. Build the indirection buffer with xnn_indirection_init_resize_bilinear2d_chw_f32 so the layout cannot drift from the operator's, and rotate buffers across iterations as bench/f32-dwconv.cc does. Shapes reuse bench/operators/resize-bilinear-nhwc.cc, plus a few working sets larger than cache. Registers all f32-ibilinear-chw ukernels: scalar, neon, neonfma, sse, wasmsimd. Signed-off-by: Le Duc Léandre <lleduc@kalrayinc.com>
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
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.
There is no benchmark for the
f32-ibilinear-chwmicrokernel family, so changes to these kernels cannot be measured.The benchmark builds its indirection buffer and interpolation coefficients with
xnn_indirection_init_resize_bilinear2d_chw_f32the operator's own code, asbench/f32-dwconv.ccalready does for dwconv so it cannot drift from the layoutxnn_resize_bilinear2d_nchwactually produces.Shapes are the decoder ladder from
bench/operators/resize-bilinear-nhwc.cc, so the CHW microkernel numbers stay comparable with the operator benchmark, plus a few working sets larger than cache.Every existing ukernel is registered:
scalarp1/p2/p4,neonandneonfmap4/p8/p16,ssep4/p8,wasmsimdp4/p8. The#ifguards mirroribilinear-chw-config.c.Only the x86 path (
sse_p4/p8,scalar_p1/p2/p4) has been built and run; the ARM and wasm registrations are compile-time-guarded and untested.