Skip to content

RISC-V: updated intrin_rvv071.hpp to work with modern toolchain 2.8.0#24841

Merged
asmorkalov merged 2 commits intoopencv:4.xfrom
mshabunin:rvv-071-update
Jan 19, 2024
Merged

RISC-V: updated intrin_rvv071.hpp to work with modern toolchain 2.8.0#24841
asmorkalov merged 2 commits intoopencv:4.xfrom
mshabunin:rvv-071-update

Conversation

@mshabunin
Copy link
Copy Markdown
Contributor

@mshabunin mshabunin commented Jan 10, 2024

  • intrinsics implementation (071) reworked to use modern RVV intrinsics syntax
  • cmake toolchain file (071) now allows selecting from predefined configurations
Build instruction:
  • use Xuantie toolchain 2.8.0: https://github.com/T-head-Semi/xuantie-gnu-toolchain
  • configure:
    PATH=/opt/xuantie-2.8.0/bin:${PATH} \
    cmake -GNinja \
     -DCMAKE_BUILD_TYPE=Release \
     -DBUILD_SHARED_LIBS=OFF \
     -DWITH_OPENCL=OFF \
     -DCMAKE_TOOLCHAIN_FILE=/opencv/platforms/linux/riscv64-071-gcc.toolchain.cmake \
     -DCORE=C910 \
     /opencv
    
  • build: ninja

UPD:

TODO (after merge):

  • update weekly RISC-V build and instruction on wiki

@asmorkalov asmorkalov added this to the 4.10.0 milestone Jan 17, 2024
mshabunin and others added 2 commits January 17, 2024 20:34
- intrinsics implementation (071) reworked to use modern RVV intrinsics syntax
- cmake toolchain file (071) now allows selecting from predefined configurations

Co-authored-by: Fang Sun <fangsun@linux.alibaba.com>
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.

3 participants