Add Xtensa fully connected kernel registrations - #3730
Open
unmeshna017 wants to merge 3 commits into
Open
unmeshna017 wants to merge 3 commits into
unmeshna017 wants to merge 3 commits into
Conversation
Optimize the Xtensa fully_connected kernels using the HiFi NNLib with per-channel and Int4 support, and add float32/int16 eval paths (fully_connected_float32.cc, fully_connected_int16.cc). Registers the two new sources in xtensa_makefile.inc. Depends on the 09_03_2026 NNLib release (PR#3703) for the v2 fully_connected/matmul APIs (e.g. xa_nn_fully_connected_v2_asym4sxasym8s_asym8s).
Add the updated fully_connected.h declaration needed by the Xtensa fully connected kernels.
Add HIFI_IQ to the include guard so xa_nnlib_api.h and xa_nnlib_standards.h are pulled in for the hifi_iq build.
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.
Add HiFi-optimized Xtensa fully connected kernels, including int8, int16, and float32 support paths, shared Xtensa helpers, and the required fully_connected.h registration updates for the Xtensa-specific variants.
@cad-audio @joshih-cad