Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable RVV as upstream recommended for now. NCNN doesn't have proper support for latest mainline GCC or Clang yet. For GCC: ``` In file included from /build/ncnn/src/ncnn-20220721/src/layer.h:18, from /build/ncnn/src/ncnn-20220721/src/layer/absval.h:18, from /build/ncnn/src/build/src/layer/riscv/absval_riscv_rvv.h:18, from /build/ncnn/src/build/src/layer/riscv/absval_riscv_rvv.cpp:15: /build/ncnn/src/ncnn-20220721/src/mat.h:36:10: fatal error: riscv_vector.h: No such file or directory 36 | #include <riscv_vector.h> | ^~~~~~~~~~~~~~~~ ``` For Clang: ``` In file included from /build/ncnn/src/build/src/layer/riscv/absval_riscv_rvv.cpp:15: In file included from /build/ncnn/src/build/src/layer/riscv/absval_riscv_rvv.h:18: In file included from /build/ncnn/src/ncnn-20220721/src/layer/absval.h:18: In file included from /build/ncnn/src/ncnn-20220721/src/layer.h:18: /build/ncnn/src/ncnn-20220721/src/mat.h:1078:11: error: unknown type name 'word_type' const word_type vl = vsetvl_e32m1(packn); ^ /build/ncnn/src/ncnn-20220721/src/mat.h:1092:11: error: unknown type name 'word_type' const word_type vl = vsetvl_e16m1(packn); ^ /build/ncnn/src/ncnn-20220721/src/mat.h:1106:11: error: unknown type name 'word_type' const word_type vl = vsetvl_e8m1(packn); ^ /build/ncnn/src/ncnn-20220721/src/mat.h:1120:11: error: unknown type name 'word_type' const word_type vl = vsetvl_e16m1(packn); ^ /build/ncnn/src/build/src/layer/riscv/absval_riscv_rvv.cpp:73:13: error: unknown type name 'word_type' word_type vl = vsetvl_e32m8(n); ^ /build/ncnn/src/build/src/layer/riscv/absval_riscv_rvv.cpp:113:13: error: unknown type name 'word_type' word_type vl = vsetvl_e16m8(n); ^ ```
- Loading branch information