ompi icon indicating copy to clipboard operation
ompi copied to clipboard

add RVV support for MPI_OP

Open heyujiao99 opened this issue 4 months ago • 3 comments

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.

heyujiao99 avatar Aug 01 '25 10:08 heyujiao99