Skip to content

add RVV support for MPI_OP #13352

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

heyujiao99
Copy link
Contributor

This patch implements MPI_OP using RISC-V Vector (RVV) extensions.

Performance results:

  • On older compilers (without RVV auto-vectorization):

    • RVV-optimized ops are 1.5-4x faster than C implementations.
  • With GCC 14+ (RVV auto-vectorization enabled):

    • 2-buff RVV ops perform similarly to auto-vectorized C code.
    • 3-buff RVV ops are still 1.5-4x faster.

Signed-off-by: heyujiao99 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant