Skip to content

Commit

Permalink
SHL: version 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangwm-pt committed Oct 19, 2023
1 parent e215b67 commit bed0bbb
Show file tree
Hide file tree
Showing 680 changed files with 41,164 additions and 4,724 deletions.
16 changes: 16 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,22 @@ if(CONFIG_BUILD_RISCV_C920)
target_include_directories(${SHL_LIB_TARGET} PRIVATE module/dlpack/include/)
endif()

if(CONFIG_BUILD_RISCV_C920V2)
# build c920v2 lib
if (NOT CONFIG_CUSTOM_SOURCE_SELECT)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/c920v2.cmake)
endif()
include(cmake/rules.cmake)

set(SHL_LIB_TARGET "c920v2_lib")
set(SHL_LIB_NAME shl_c920v2)
LIST(APPEND SHL_BUILD_SRC_LST ${NN2_SRCS} ${REF_SRCS} ${GREF_SRCS} ${THEAD_RVV_SRCS} ${C920V2_SRCS})
set(SHL_BUILD_C_FLAGS -ffp-contract=off -march=rv64gcv_zfh_xtheadc_xtheadvdot -mabi=lp64d -DSHL_BUILD_C920V2 -DSHL_BUILD_REF -DSHL_BUILD_GREF -DSHL_BUILD_RVV)
include(cmake/target_build.cmake)
target_include_directories(${SHL_LIB_TARGET} PRIVATE module/dlpack/include/)
endif()


if(CONFIG_BUILD_RISCV_ELF_C906)
# build c906 elf a
if (NOT CONFIG_CUSTOM_SOURCE_SELECT)
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ nn2_c908:
nn2_c920:
mkdir -p c920_build; cd c920_build; cmake ../ -DCONFIG_BUILD_RISCV_C920=ON -DCONFIG_SHL_BUILD_STATIC=ON -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/c920/; make -j${USE_CORE}; make install; cd -

nn2_c920v2:
mkdir -p c920v2_build; cd c920v2_build; cmake ../ -DCONFIG_BUILD_RISCV_C920V2=ON -DCONFIG_SHL_BUILD_STATIC=ON -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/c920v2/; make -j${USE_CORE}; make install; cd -

nn2_c920_so:
mkdir -p c920_build_so; cd c920_build_so; cmake ../ -DCONFIG_BUILD_RISCV_C920=ON -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/c920/; make -j${USE_CORE}; make install; cd -

Expand Down
24 changes: 20 additions & 4 deletions cmake/c906_elf.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,24 @@ set(CONFIG_THEAD_RVV_CONVOLUTION_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_INT8 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP32 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP16 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_FP32 ON)
set(CONFIG_THEAD_RVV_DIV_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_INT8 ON)
set(CONFIG_THEAD_RVV_ERF_FP32 ON)
set(CONFIG_THEAD_RVV_ERF_FP16 ON)
set(CONFIG_THEAD_RVV_ERF_INT8 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP32 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP16 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_INT8 ON)
set(CONFIG_THEAD_RVV_GATHER_FP32 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_GEMM_FP32 ON)
set(CONFIG_THEAD_RVV_GEMM_FP16 ON)
set(CONFIG_THEAD_RVV_GEMM_INT8 ON)
Expand Down Expand Up @@ -373,6 +386,7 @@ set(CONFIG_THEAD_RVV_PAD_INT8 ON)
set(CONFIG_THEAD_RVV_PRELU_FP32 ON)
set(CONFIG_THEAD_RVV_PRELU_FP16 ON)
set(CONFIG_THEAD_RVV_PRELU_INT8 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_RELU_FP32 ON)
set(CONFIG_THEAD_RVV_RELU_FP16 ON)
set(CONFIG_THEAD_RVV_RELU_INT8 ON)
Expand All @@ -384,15 +398,17 @@ set(CONFIG_THEAD_RVV_RESHAPE_FP16 ON)
set(CONFIG_THEAD_RVV_RESHAPE_INT8 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP32 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP16 ON)
set(CONFIG_THEAD_RVV_SIGMOID_INT8 ON)
set(CONFIG_THEAD_RVV_SUB_FP32 ON)
set(CONFIG_THEAD_RVV_SUB_FP16 ON)
set(CONFIG_THEAD_RVV_SUB_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP32 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP16 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP32 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_INT8 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_C906_SOURCE ON)
set(CONFIG_C906_ABS_FP32 ON)
set(CONFIG_C906_ABS_FP16 ON)
Expand Down
24 changes: 20 additions & 4 deletions cmake/c906_share.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,24 @@ set(CONFIG_THEAD_RVV_CONVOLUTION_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_INT8 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP32 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP16 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_FP32 ON)
set(CONFIG_THEAD_RVV_DIV_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_INT8 ON)
set(CONFIG_THEAD_RVV_ERF_FP32 ON)
set(CONFIG_THEAD_RVV_ERF_FP16 ON)
set(CONFIG_THEAD_RVV_ERF_INT8 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP32 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP16 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_INT8 ON)
set(CONFIG_THEAD_RVV_GATHER_FP32 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_GEMM_FP32 ON)
set(CONFIG_THEAD_RVV_GEMM_FP16 ON)
set(CONFIG_THEAD_RVV_GEMM_INT8 ON)
Expand Down Expand Up @@ -373,6 +386,7 @@ set(CONFIG_THEAD_RVV_PAD_INT8 ON)
set(CONFIG_THEAD_RVV_PRELU_FP32 ON)
set(CONFIG_THEAD_RVV_PRELU_FP16 ON)
set(CONFIG_THEAD_RVV_PRELU_INT8 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_RELU_FP32 ON)
set(CONFIG_THEAD_RVV_RELU_FP16 ON)
set(CONFIG_THEAD_RVV_RELU_INT8 ON)
Expand All @@ -384,15 +398,17 @@ set(CONFIG_THEAD_RVV_RESHAPE_FP16 ON)
set(CONFIG_THEAD_RVV_RESHAPE_INT8 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP32 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP16 ON)
set(CONFIG_THEAD_RVV_SIGMOID_INT8 ON)
set(CONFIG_THEAD_RVV_SUB_FP32 ON)
set(CONFIG_THEAD_RVV_SUB_FP16 ON)
set(CONFIG_THEAD_RVV_SUB_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP32 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP16 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP32 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_INT8 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_C906_SOURCE ON)
set(CONFIG_C906_ABS_FP32 ON)
set(CONFIG_C906_ABS_FP16 ON)
Expand Down
26 changes: 21 additions & 5 deletions cmake/c906_static.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,7 @@ set(CONFIG_GRAPH_REFERENCE_XOR ON)
set(CONFIG_GRAPH_REFERENCE_YUV_RGB_SCALE ON)
set(CONFIG_GRAPH_REFERENCE_ONE_HOT ON)
set(CONFIG_GRAPH_REFERENCE_INSTANCE_NORM ON)
set(CONFIG_GRAPH_REFERENCE_TVMGEN ON)
set(CONFIG_THEAD_RVV_SOURCE ON)
set(CONFIG_THEAD_RVV_ADD_FP32 ON)
set(CONFIG_THEAD_RVV_ADD_FP16 ON)
Expand All @@ -340,12 +341,25 @@ set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_INT4 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP32 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP16 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_FP32 ON)
set(CONFIG_THEAD_RVV_DIV_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_INT8 ON)
set(CONFIG_THEAD_RVV_ERF_FP32 ON)
set(CONFIG_THEAD_RVV_ERF_FP16 ON)
set(CONFIG_THEAD_RVV_ERF_INT8 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP32 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP16 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_INT8 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_INT4 ON)
set(CONFIG_THEAD_RVV_GATHER_FP32 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_GEMM_FP32 ON)
set(CONFIG_THEAD_RVV_GEMM_FP16 ON)
set(CONFIG_THEAD_RVV_GEMM_INT8 ON)
Expand Down Expand Up @@ -377,6 +391,7 @@ set(CONFIG_THEAD_RVV_PAD_INT8 ON)
set(CONFIG_THEAD_RVV_PRELU_FP32 ON)
set(CONFIG_THEAD_RVV_PRELU_FP16 ON)
set(CONFIG_THEAD_RVV_PRELU_INT8 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_RELU_FP32 ON)
set(CONFIG_THEAD_RVV_RELU_FP16 ON)
set(CONFIG_THEAD_RVV_RELU_INT8 ON)
Expand All @@ -388,16 +403,17 @@ set(CONFIG_THEAD_RVV_RESHAPE_FP16 ON)
set(CONFIG_THEAD_RVV_RESHAPE_INT8 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP32 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP16 ON)
set(CONFIG_THEAD_RVV_SIGMOID_INT8 ON)
set(CONFIG_THEAD_RVV_SUB_FP32 ON)
set(CONFIG_THEAD_RVV_SUB_FP16 ON)
set(CONFIG_THEAD_RVV_SUB_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP32 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP16 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP32 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_INT8 ON)
set(CONFIG_GRAPH_REFERENCE_TVMGEN ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_C906_SOURCE ON)
set(CONFIG_C906_ABS_FP32 ON)
set(CONFIG_C906_ABS_FP16 ON)
Expand Down
24 changes: 20 additions & 4 deletions cmake/c908.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -340,12 +340,25 @@ set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_INT4 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP32 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP16 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_FP32 ON)
set(CONFIG_THEAD_RVV_DIV_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_INT8 ON)
set(CONFIG_THEAD_RVV_ERF_FP32 ON)
set(CONFIG_THEAD_RVV_ERF_FP16 ON)
set(CONFIG_THEAD_RVV_ERF_INT8 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP32 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP16 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_INT8 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_INT4 ON)
set(CONFIG_THEAD_RVV_GATHER_FP32 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_GEMM_FP32 ON)
set(CONFIG_THEAD_RVV_GEMM_FP16 ON)
set(CONFIG_THEAD_RVV_GEMM_INT8 ON)
Expand Down Expand Up @@ -377,6 +390,7 @@ set(CONFIG_THEAD_RVV_PAD_INT8 ON)
set(CONFIG_THEAD_RVV_PRELU_FP32 ON)
set(CONFIG_THEAD_RVV_PRELU_FP16 ON)
set(CONFIG_THEAD_RVV_PRELU_INT8 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_RELU_FP32 ON)
set(CONFIG_THEAD_RVV_RELU_FP16 ON)
set(CONFIG_THEAD_RVV_RELU_INT8 ON)
Expand All @@ -388,15 +402,17 @@ set(CONFIG_THEAD_RVV_RESHAPE_FP16 ON)
set(CONFIG_THEAD_RVV_RESHAPE_INT8 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP32 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP16 ON)
set(CONFIG_THEAD_RVV_SIGMOID_INT8 ON)
set(CONFIG_THEAD_RVV_SUB_FP32 ON)
set(CONFIG_THEAD_RVV_SUB_FP16 ON)
set(CONFIG_THEAD_RVV_SUB_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP32 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP16 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP32 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_INT8 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_C908_SOURCE ON)
set(CONFIG_C908_AVERAGEPOOL_FP32 ON)
set(CONFIG_C908_AVERAGEPOOL_FP16 ON)
Expand Down
34 changes: 29 additions & 5 deletions cmake/c920.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -339,11 +339,24 @@ set(CONFIG_THEAD_RVV_CONVOLUTION_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION_INT8 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP32 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_FP16 ON)
set(CONFIG_THEAD_RVV_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DEPTHWISE_CONVOLUTION1D_INT8 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP32 ON)
set(CONFIG_THEAD_RVV_DECONVOLUTION_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_FP32 ON)
set(CONFIG_THEAD_RVV_DIV_FP16 ON)
set(CONFIG_THEAD_RVV_DIV_INT8 ON)
set(CONFIG_THEAD_RVV_ERF_FP32 ON)
set(CONFIG_THEAD_RVV_ERF_FP16 ON)
set(CONFIG_THEAD_RVV_ERF_INT8 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP32 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_FP16 ON)
set(CONFIG_THEAD_RVV_FULLYCONNECTED_INT8 ON)
set(CONFIG_THEAD_RVV_GATHER_FP32 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_GEMM_FP32 ON)
set(CONFIG_THEAD_RVV_GEMM_FP16 ON)
set(CONFIG_THEAD_RVV_GEMM_INT8 ON)
Expand Down Expand Up @@ -374,6 +387,7 @@ set(CONFIG_THEAD_RVV_PAD_INT8 ON)
set(CONFIG_THEAD_RVV_PRELU_FP32 ON)
set(CONFIG_THEAD_RVV_PRELU_FP16 ON)
set(CONFIG_THEAD_RVV_PRELU_INT8 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_RELU_FP32 ON)
set(CONFIG_THEAD_RVV_RELU_FP16 ON)
set(CONFIG_THEAD_RVV_RELU_INT8 ON)
Expand All @@ -385,14 +399,24 @@ set(CONFIG_THEAD_RVV_RESHAPE_FP16 ON)
set(CONFIG_THEAD_RVV_RESHAPE_INT8 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP32 ON)
set(CONFIG_THEAD_RVV_SIGMOID_FP16 ON)
set(CONFIG_THEAD_RVV_SIGMOID_INT8 ON)
set(CONFIG_THEAD_RVV_SUB_FP32 ON)
set(CONFIG_THEAD_RVV_SUB_FP16 ON)
set(CONFIG_THEAD_RVV_SUB_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP32 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_FP16 ON)
set(CONFIG_THEAD_RVV_REDUCE_SUM_INT8 ON)
set(CONFIG_THEAD_RVV_SOFTMAX_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP32 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_FP16 ON)
set(CONFIG_THEAD_RVV_TRANSPOSE_INT8 ON)
set(CONFIG_THEAD_RVV_GATHER_FP16 ON)
set(CONFIG_THEAD_RVV_GATHER_INT8 ON)
set(CONFIG_THEAD_RVV_STRIDED_SLICE_FP16 ON)
set(CONFIG_C920_SOURCE ON)
set(CONFIG_C920_CONVOLUTION_FP32 ON)
set(CONFIG_C920_CONVOLUTION_FP16 ON)
set(CONFIG_C920_GEMM_FP32 ON)
set(CONFIG_C920_GEMM_FP16 ON)
set(CONFIG_C920_MATMUL_FP32 ON)
set(CONFIG_C920_MATMUL_FP16 ON)
set(CONFIG_USE_SHL_DEBUG ON)
set(CONFIG_SHL_LAYER_BENCHMARK ON)
set(CONFIG_SHL_LAYER_BENCHMARK ON)
set(CONFIG_USE_EXPORT_MODEL ON)
Loading

0 comments on commit bed0bbb

Please sign in to comment.