Copybara import of the project:#10121
Merged
copybara-service[bot] merged 4 commits intomasterfrom Apr 29, 2026
Merged
Conversation
Add RVV kernels for three elementwise activation ops: - f32-velu (ELU) - rr2_p6 polynomial approximation - f32-vgelu (GELU) - rational 12/10 approximation (div + nr variants) - f32-vapproxgelu - rational 12/10 approximation (div + nr variants) Tested on SpacemiT K1 CPU and K3 CPU, both VLEN=256.
Move f32-velu, f32-vgelu, f32-vapproxgelu entries from end of PROD/NON_PROD lists to alphabetical positions to avoid merge conflicts with other RVV PRs.
PiperOrigin-RevId: 907660441
814a073 to
bbc68d9
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.
Copybara import of the project:
--
d3121ea by velonica0 like@mail.nankai.edu.cn:
[RVV] add rvv f32 kernels for velu, vgelu, vapproxgelu
Add RVV kernels for three elementwise activation ops:
Tested on SpacemiT K1 CPU and K3 CPU, both VLEN=256.
--
ae23132 by velonica0 like@mail.nankai.edu.cn:
Alphabetize RVV elementwise entries in cmake/bzl lists
Move f32-velu, f32-vgelu, f32-vapproxgelu entries from end of
PROD/NON_PROD lists to alphabetical positions to avoid merge conflicts
with other RVV PRs.
--
0b6f61a by velonica0 like@mail.nankai.edu.cn:
fix cmake bug
FUTURE_COPYBARA_INTEGRATE_REVIEW=#9963 from velonica0:rvv-elementwise 0b6f61a