From ee963fb57312a640d4bdde534048ed0dcde0833c Mon Sep 17 00:00:00 2001 From: Huaqi Fang <578567190@qq.com> Date: Thu, 5 Jan 2023 18:53:11 +0800 Subject: [PATCH] NMSIS: remove not suitable source comment for dsp/nn Signed-off-by: Huaqi Fang <578567190@qq.com> --- NMSIS/DSP/Include/riscv_math.h | 13 +------------ NMSIS/NN/Include/riscv_nnfunctions.h | 10 +--------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/NMSIS/DSP/Include/riscv_math.h b/NMSIS/DSP/Include/riscv_math.h index d48ee1160..76e415ac6 100644 --- a/NMSIS/DSP/Include/riscv_math.h +++ b/NMSIS/DSP/Include/riscv_math.h @@ -76,19 +76,8 @@ * Preprocessor Macros * ------------------- * - * Each library project have different preprocessor macros. + * Each library project have different preprocessor macros controlled via CMakeLists.txt. * - * - RISCV_MATH_MATRIX_CHECK: - * - * Define macro RISCV_MATH_MATRIX_CHECK for checking on the input and output sizes of matrices - * - * - RISCV_MATH_ROUNDING: - * - * Define macro RISCV_MATH_ROUNDING for rounding on support functions - * - * - RISCV_MATH_LOOPUNROLL: - * - * Define macro RISCV_MATH_LOOPUNROLL to enable manual loop unrolling in DSP functions * */ diff --git a/NMSIS/NN/Include/riscv_nnfunctions.h b/NMSIS/NN/Include/riscv_nnfunctions.h index 1707d1b30..28659fdf6 100644 --- a/NMSIS/NN/Include/riscv_nnfunctions.h +++ b/NMSIS/NN/Include/riscv_nnfunctions.h @@ -66,15 +66,7 @@ * Pre-processor Macros * ------------ * - * Each library project have different pre-processor macros. - * - * - RISCV_MATH_DSP: - * - * Define macro RISCV_MATH_DSP, If the silicon supports DSP instructions. - * - * - RISCV_NN_TRUNCATE: - * - * Define macro RISCV_NN_TRUNCATE to use floor instead of round-to-the-nearest-int for the computation. + * Each library project have different pre-processor macros controlled via CMakeLists.txt. * * * [1] CMSIS-NN: Efficient Neural Network Kernels for Arm Cortex-M CPUs https://arxiv.org/abs/1801.06601