/Zephyr-latest/tests/lib/cmsis_dsp/matrix/src/ |
D | unary_f16.c | 50 arm_matrix_instance_f16 mat_in1; in test_op2() local 65 mat_in1.pData = tmp1; in test_op2() 75 mat_in1.numRows = mat_in2.numRows = mat_out.numRows = rows; in test_op2() 76 mat_in1.numCols = mat_in2.numCols = mat_out.numCols = columns; in test_op2() 79 memcpy(mat_in1.pData, in_com1, in test_op2() 88 status = arm_mat_add_f16(&mat_in1, &mat_in2, in test_op2() 92 status = arm_mat_sub_f16(&mat_in1, &mat_in2, in test_op2() 140 arm_matrix_instance_f16 mat_in1; in test_op1() local 151 mat_in1.pData = tmp1; in test_op1() 160 mat_in1.numRows = rows; in test_op1() [all …]
|
D | unary_f32.c | 46 arm_matrix_instance_f32 mat_in1; in test_op2() local 61 mat_in1.pData = tmp1; in test_op2() 71 mat_in1.numRows = mat_in2.numRows = mat_out.numRows = rows; in test_op2() 72 mat_in1.numCols = mat_in2.numCols = mat_out.numCols = columns; in test_op2() 75 memcpy(mat_in1.pData, in_com1, in test_op2() 84 status = arm_mat_add_f32(&mat_in1, &mat_in2, in test_op2() 88 status = arm_mat_sub_f32(&mat_in1, &mat_in2, in test_op2() 136 arm_matrix_instance_f32 mat_in1; in test_op1() local 147 mat_in1.pData = tmp1; in test_op1() 156 mat_in1.numRows = rows; in test_op1() [all …]
|
D | unary_q15.c | 38 arm_matrix_instance_q15 mat_in1; in test_op2() local 53 mat_in1.pData = tmp1; in test_op2() 63 mat_in1.numRows = mat_in2.numRows = mat_out.numRows = rows; in test_op2() 64 mat_in1.numCols = mat_in2.numCols = mat_out.numCols = columns; in test_op2() 67 memcpy(mat_in1.pData, in_com1, rows * columns * sizeof(q15_t)); in test_op2() 73 status = arm_mat_add_q15(&mat_in1, &mat_in2, in test_op2() 77 status = arm_mat_sub_q15(&mat_in1, &mat_in2, in test_op2() 122 arm_matrix_instance_q15 mat_in1; in test_op1() local 133 mat_in1.pData = tmp1; in test_op1() 142 mat_in1.numRows = rows; in test_op1() [all …]
|
D | unary_q31.c | 38 arm_matrix_instance_q31 mat_in1; in test_op2() local 53 mat_in1.pData = tmp1; in test_op2() 63 mat_in1.numRows = mat_in2.numRows = mat_out.numRows = rows; in test_op2() 64 mat_in1.numCols = mat_in2.numCols = mat_out.numCols = columns; in test_op2() 67 memcpy(mat_in1.pData, in_com1, rows * columns * sizeof(q31_t)); in test_op2() 73 status = arm_mat_add_q31(&mat_in1, &mat_in2, in test_op2() 77 status = arm_mat_sub_q31(&mat_in1, &mat_in2, in test_op2() 122 arm_matrix_instance_q31 mat_in1; in test_op1() local 133 mat_in1.pData = tmp1; in test_op1() 142 mat_in1.numRows = rows; in test_op1() [all …]
|
D | unary_f64.c | 38 arm_matrix_instance_f64 mat_in1; in test_op2() local 53 mat_in1.pData = tmp1; in test_op2() 63 mat_in1.numRows = mat_in2.numRows = mat_out.numRows = rows; in test_op2() 64 mat_in1.numCols = mat_in2.numCols = mat_out.numCols = columns; in test_op2() 67 memcpy(mat_in1.pData, in_com1, in test_op2() 76 status = arm_mat_sub_f64(&mat_in1, &mat_in2, in test_op2() 121 arm_matrix_instance_f64 mat_in1; in test_op1() local 132 mat_in1.pData = tmp1; in test_op1() 141 mat_in1.numRows = rows; in test_op1() 142 mat_in1.numCols = columns; in test_op1() [all …]
|
D | unary_q7.c | 34 arm_matrix_instance_q7 mat_in1; in test_op1() local 45 mat_in1.pData = tmp1; in test_op1() 54 mat_in1.numRows = rows; in test_op1() 55 mat_in1.numCols = columns; in test_op1() 60 memcpy(mat_in1.pData, in_com1, rows * columns * sizeof(q7_t)); in test_op1() 65 status = arm_mat_trans_q7(&mat_in1, &mat_out); in test_op1() 104 arm_matrix_instance_q7 mat_in1; in test_op2v() local 117 mat_in1.pData = tmp1; in test_op2v() 126 mat_in1.numRows = rows; in test_op2v() 127 mat_in1.numCols = internal; in test_op2v() [all …]
|
D | binary_f32.c | 35 arm_matrix_instance_f32 mat_in1; in test_op2() local 50 mat_in1.pData = tmp1; in test_op2() 61 mat_in1.numRows = rows; in test_op2() 62 mat_in1.numCols = internal; in test_op2() 71 memcpy(mat_in1.pData, input1, in test_op2() 80 status = arm_mat_mult_f32(&mat_in1, &mat_in2, in test_op2() 126 arm_matrix_instance_f32 mat_in1; in test_op2c() local 141 mat_in1.pData = tmp1; in test_op2c() 152 mat_in1.numRows = rows; in test_op2c() 153 mat_in1.numCols = internal; in test_op2c() [all …]
|
D | binary_f64.c | 35 arm_matrix_instance_f64 mat_in1; in test_op2() local 50 mat_in1.pData = tmp1; in test_op2() 61 mat_in1.numRows = rows; in test_op2() 62 mat_in1.numCols = internal; in test_op2() 71 memcpy(mat_in1.pData, input1, in test_op2() 80 status = arm_mat_mult_f64(&mat_in1, &mat_in2, in test_op2() 131 arm_matrix_instance_f64 mat_in1; 146 mat_in1.pData = tmp1; 157 mat_in1.numRows = rows; 158 mat_in1.numCols = internal; [all …]
|
D | binary_q31.c | 35 arm_matrix_instance_q31 mat_in1; in test_op2() local 50 mat_in1.pData = tmp1; in test_op2() 61 mat_in1.numRows = rows; in test_op2() 62 mat_in1.numCols = internal; in test_op2() 71 memcpy(mat_in1.pData, input1, in test_op2() 80 status = arm_mat_mult_q31(&mat_in1, &mat_in2, in test_op2() 124 arm_matrix_instance_q31 mat_in1; in test_op2c() local 139 mat_in1.pData = tmp1; in test_op2c() 150 mat_in1.numRows = rows; in test_op2c() 151 mat_in1.numCols = internal; in test_op2c() [all …]
|
D | binary_f16.c | 35 arm_matrix_instance_f16 mat_in1; in test_op2() local 50 mat_in1.pData = tmp1; in test_op2() 61 mat_in1.numRows = rows; in test_op2() 62 mat_in1.numCols = internal; in test_op2() 71 memcpy(mat_in1.pData, input1, in test_op2() 80 status = arm_mat_mult_f16(&mat_in1, &mat_in2, in test_op2() 126 arm_matrix_instance_f16 mat_in1; in test_op2c() local 141 mat_in1.pData = tmp1; in test_op2c() 152 mat_in1.numRows = rows; in test_op2c() 153 mat_in1.numCols = internal; in test_op2c() [all …]
|
D | binary_q15.c | 37 arm_matrix_instance_q15 mat_in1; in test_op2() local 55 mat_in1.pData = tmp1; in test_op2() 66 mat_in1.numRows = rows; in test_op2() 67 mat_in1.numCols = internal; in test_op2() 76 memcpy(mat_in1.pData, input1, in test_op2() 86 &mat_in1, &mat_in2, &mat_out, in test_op2() 132 arm_matrix_instance_q15 mat_in1; in test_op2c() local 150 mat_in1.pData = tmp1; in test_op2c() 161 mat_in1.numRows = rows; in test_op2c() 162 mat_in1.numCols = internal; in test_op2c() [all …]
|
D | binary_q7.c | 33 arm_matrix_instance_q7 mat_in1; in test_op2() local 51 mat_in1.pData = tmp1; in test_op2() 62 mat_in1.numRows = rows; in test_op2() 63 mat_in1.numCols = internal; in test_op2() 72 memcpy(mat_in1.pData, input1, in test_op2() 82 &mat_in1, &mat_in2, &mat_out, in test_op2()
|