/cmsis-dsp-3.5.0/Testing/Source/Tests/ |
D | SupportTestsF32.cpp | 16 const float32_t *inp = input.ptr(); in test_weighted_sum_f32() local 23 *outp=arm_weighted_sum_f32(inp, coefsp,this->nbSamples); in test_weighted_sum_f32() 33 const float32_t *inp = input.ptr(); in test_copy_f32() local 37 arm_copy_f32(inp, outp,this->nbSamples); in test_copy_f32() 65 const float32_t *inp = input.ptr(); in test_float_to_q15() local 69 arm_float_to_q15(inp, outp,this->nbSamples); in test_float_to_q15() 79 const float32_t *inp = input.ptr(); in test_float_to_f64() local 83 arm_float_to_f64(inp, outp,this->nbSamples); in test_float_to_f64() 92 const float32_t *inp = input.ptr(); in test_float_to_q31() local 96 arm_float_to_q31(inp, outp,this->nbSamples); in test_float_to_q31() [all …]
|
D | FastMathF16.cpp | 28 const float16_t *inp = input.ptr(); 34 outp[i]=arm_cos_f16(inp[i]); 44 const float16_t *inp = input.ptr(); 50 outp[i]=arm_sin_f16(inp[i]); 62 const float16_t *inp = input.ptr(); in test_atan2_scalar_f16() local 70 status=arm_atan2_f16(inp[2*i],inp[2*i+1],&res); in test_atan2_scalar_f16() 85 const float16_t *inp = input.ptr(); in test_sqrt_f16() local 92 status=arm_sqrt_f16(inp[i],&outp[i]); in test_sqrt_f16() 93 …ASSERT_TRUE((status == ARM_MATH_SUCCESS) || ((inp[i] < 0.0f) && (status == ARM_MATH_ARGUMENT_ERROR… in test_sqrt_f16() 106 const float16_t *inp = input.ptr(); in test_vlog_f16() local [all …]
|
D | FastMathF32.cpp | 27 const float32_t *inp = input.ptr(); in test_atan2_scalar_f32() local 35 status=arm_atan2_f32(inp[2*i],inp[2*i+1],&res); in test_atan2_scalar_f32() 50 const float32_t *inp = input.ptr(); in test_cos_f32() local 56 outp[i]=arm_cos_f32(inp[i]); in test_cos_f32() 66 const float32_t *inp = input.ptr(); in test_sin_f32() local 72 outp[i]=arm_sin_f32(inp[i]); in test_sin_f32() 82 const float32_t *inp = input.ptr(); in test_sqrt_f32() local 89 status=arm_sqrt_f32(inp[i],&outp[i]); in test_sqrt_f32() 90 …ASSERT_TRUE((status == ARM_MATH_SUCCESS) || ((inp[i] < 0.0f) && (status == ARM_MATH_ARGUMENT_ERROR… in test_sqrt_f32() 102 const float32_t *inp = input.ptr(); in test_vlog_f32() local [all …]
|
D | SVMF16.cpp | 8 const float16_t *inp = samples.ptr(); in test_svm_linear_predict_f16() local 16 arm_svm_linear_predict_f16(&this->linear,inp,result); in test_svm_linear_predict_f16() 18 inp += this->vecDim; in test_svm_linear_predict_f16() 28 const float16_t *inp = samples.ptr(); in test_svm_polynomial_predict_f16() local 36 arm_svm_polynomial_predict_f16(&this->poly,inp,result); in test_svm_polynomial_predict_f16() 38 inp += this->vecDim; in test_svm_polynomial_predict_f16() 47 const float16_t *inp = samples.ptr(); in test_svm_rbf_predict_f16() local 55 arm_svm_rbf_predict_f16(&this->rbf,inp,result); in test_svm_rbf_predict_f16() 57 inp += this->vecDim; in test_svm_rbf_predict_f16() 66 const float16_t *inp = samples.ptr(); in test_svm_sigmoid_predict_f16() local [all …]
|
D | SVMF32.cpp | 8 const float32_t *inp = samples.ptr(); in test_svm_linear_predict_f32() local 16 arm_svm_linear_predict_f32(&this->linear,inp,result); in test_svm_linear_predict_f32() 18 inp += this->vecDim; in test_svm_linear_predict_f32() 28 const float32_t *inp = samples.ptr(); in test_svm_polynomial_predict_f32() local 36 arm_svm_polynomial_predict_f32(&this->poly,inp,result); in test_svm_polynomial_predict_f32() 38 inp += this->vecDim; in test_svm_polynomial_predict_f32() 47 const float32_t *inp = samples.ptr(); in test_svm_rbf_predict_f32() local 55 arm_svm_rbf_predict_f32(&this->rbf,inp,result); in test_svm_rbf_predict_f32() 57 inp += this->vecDim; in test_svm_rbf_predict_f32() 66 const float32_t *inp = samples.ptr(); in test_svm_sigmoid_predict_f32() local [all …]
|
D | FastMathQ15.cpp | 28 const q15_t *inp = input.ptr(); in test_vlog_q15() local 31 arm_vlog_q15(inp,outp,ref.nbSamples()); in test_vlog_q15() 41 const q15_t *inp = input.ptr(); in test_atan2_scalar_q15() local 49 status=arm_atan2_q15(inp[2*i],inp[2*i+1],&res); in test_atan2_scalar_q15() 86 const q15_t *inp = input.ptr(); in test_cos_q15() local 92 outp[i]=arm_cos_q15(inp[i]); in test_cos_q15() 102 const q15_t *inp = input.ptr(); in test_sin_q15() local 108 outp[i]=arm_sin_q15(inp[i]); in test_sin_q15() 118 const q15_t *inp = input.ptr(); in test_sqrt_q15() local 127 status=arm_sqrt_q15(inp[i],&outp[i]); in test_sqrt_q15() [all …]
|
D | FastMathQ31.cpp | 27 const q31_t *inp = input.ptr(); in test_atan2_scalar_q31() local 35 status=arm_atan2_q31(inp[2*i],inp[2*i+1],&res); in test_atan2_scalar_q31() 47 const q31_t *inp = input.ptr(); in test_vlog_q31() local 50 arm_vlog_q31(inp,outp,ref.nbSamples()); in test_vlog_q31() 85 const q31_t *inp = input.ptr(); in test_cos_q31() local 91 outp[i]=arm_cos_q31(inp[i]); in test_cos_q31() 101 const q31_t *inp = input.ptr(); in test_sin_q31() local 107 outp[i]=arm_sin_q31(inp[i]); in test_sin_q31() 117 const q31_t *inp = input.ptr(); in test_sqrt_q31() local 124 status=arm_sqrt_q31(inp[i],&outp[i]); in test_sqrt_q31() [all …]
|
D | StatsTestsF32.cpp | 18 const float32_t *inp = inputA.ptr(); in test_max_f32() local 29 arm_max_f32(inp, in test_max_f32() 44 const float32_t *inp = inputA.ptr(); in test_absmax_f32() local 55 arm_absmax_f32(inp, in test_absmax_f32() 70 const float32_t *inp = inputA.ptr(); in test_max_no_idx_f32() local 78 arm_max_no_idx_f32(inp, in test_max_no_idx_f32() 90 const float32_t *inp = inputA.ptr(); in test_absmax_no_idx_f32() local 98 arm_absmax_no_idx_f32(inp, in test_absmax_no_idx_f32() 110 const float32_t *inp = inputA.ptr(); in test_min_no_idx_f32() local 118 arm_min_no_idx_f32(inp, in test_min_no_idx_f32() [all …]
|
D | StatsTestsF16.cpp | 23 const float16_t *inp = inputA.ptr(); in test_max_f16() local 34 arm_max_f16(inp, in test_max_f16() 49 const float16_t *inp = inputA.ptr(); in test_absmax_f16() local 60 arm_absmax_f16(inp, in test_absmax_f16() 76 const float16_t *inp = inputA.ptr(); in test_max_no_idx_f16() local 84 arm_max_no_idx_f16(inp, in test_max_no_idx_f16() 96 const float16_t *inp = inputA.ptr(); in test_absmax_no_idx_f16() local 104 arm_absmax_no_idx_f16(inp, in test_absmax_no_idx_f16() 116 const float16_t *inp = inputA.ptr(); in test_min_no_idx_f16() local 124 arm_min_no_idx_f16(inp, in test_min_no_idx_f16() [all …]
|
D | SupportTestsF16.cpp | 24 const float16_t *inp = input.ptr(); in test_weighted_sum_f16() local 31 *outp=arm_weighted_sum_f16(inp, coefsp,this->nbSamples); in test_weighted_sum_f16() 41 const float16_t *inp = input.ptr(); in test_copy_f16() local 45 arm_copy_f16(inp, outp,this->nbSamples); in test_copy_f16() 73 const float16_t *inp = input.ptr(); in test_f16_q15() local 77 arm_f16_to_q15(inp, outp,this->nbSamples); in test_f16_q15() 87 const float16_t *inp = input.ptr(); in test_f16_f32() local 91 arm_f16_to_float(inp, outp,this->nbSamples); in test_f16_f32() 101 const float16_t *inp = input.ptr(); in test_f16_f64() local 105 arm_f16_to_f64(inp, outp,this->nbSamples); in test_f16_f64() [all …]
|
D | StatsTestsQ15.cpp | 24 const q15_t *inp = inputA.ptr(); in test_max_q15() local 35 arm_max_q15(inp, in test_max_q15() 50 const q15_t *inp = inputA.ptr(); in test_max_no_idx_q15() local 58 arm_max_no_idx_q15(inp, in test_max_no_idx_q15() 70 const q15_t *inp = inputA.ptr(); in test_absmax_no_idx_q15() local 78 arm_absmax_no_idx_q15(inp, in test_absmax_no_idx_q15() 90 const q15_t *inp = inputA.ptr(); in test_absmax_q15() local 101 arm_absmax_q15(inp, in test_absmax_q15() 116 const q15_t *inp = inputA.ptr(); in test_min_q15() local 127 arm_min_q15(inp, in test_min_q15() [all …]
|
D | StatsTestsQ31.cpp | 24 const q31_t *inp = inputA.ptr(); in test_max_q31() local 35 arm_max_q31(inp, in test_max_q31() 51 const q31_t *inp = inputA.ptr(); in test_absmax_q31() local 62 arm_absmax_q31(inp, in test_absmax_q31() 78 const q31_t *inp = inputA.ptr(); in test_min_q31() local 89 arm_min_q31(inp, in test_min_q31() 104 const q31_t *inp = inputA.ptr(); in test_min_no_idx_q31() local 112 arm_min_no_idx_q31(inp, in test_min_no_idx_q31() 124 const q31_t *inp = inputA.ptr(); in test_absmin_no_idx_q31() local 132 arm_absmin_no_idx_q31(inp, in test_absmin_no_idx_q31() [all …]
|
D | StatsTestsF64.cpp | 18 const float64_t *inp = inputA.ptr(); in test_max_f64() local 29 arm_max_f64(inp, in test_max_f64() 44 const float64_t *inp = inputA.ptr(); in test_absmax_f64() local 55 arm_absmax_f64(inp, in test_absmax_f64() 70 const float64_t *inp = inputA.ptr(); in test_max_no_idx_f64() local 78 arm_max_no_idx_f64(inp, in test_max_no_idx_f64() 90 const float64_t *inp = inputA.ptr(); in test_absmax_no_idx_f64() local 98 arm_absmax_no_idx_f64(inp, in test_absmax_no_idx_f64() 110 const float64_t *inp = inputA.ptr(); in test_min_no_idx_f64() local 118 arm_min_no_idx_f64(inp, in test_min_no_idx_f64() [all …]
|
D | SupportTestsF64.cpp | 33 const float64_t *inp = input.ptr(); in test_copy_f64() local 37 arm_copy_f64(inp, outp,this->nbSamples); in test_copy_f64() 65 const float64_t *inp = input.ptr(); in test_f64_to_float() local 69 arm_f64_to_float(inp, outp,this->nbSamples); in test_f64_to_float() 79 const float64_t *inp = input.ptr(); in test_f64_to_q15() local 83 arm_f64_to_q15(inp, outp,this->nbSamples); in test_f64_to_q15() 93 const float64_t *inp = input.ptr(); in test_f64_to_q31() local 97 arm_f64_to_q31(inp, outp,this->nbSamples); in test_f64_to_q31() 107 const float64_t *inp = input.ptr(); in test_f64_to_q7() local 111 arm_f64_to_q7(inp, outp,this->nbSamples); in test_f64_to_q7()
|
D | StatsTestsQ7.cpp | 26 const q7_t *inp = inputA.ptr(); in test_max_q7() local 37 arm_max_q7(inp, in test_max_q7() 52 const q7_t *inp = inputA.ptr(); in test_max_no_idx_q7() local 60 arm_max_no_idx_q7(inp, in test_max_no_idx_q7() 72 const q7_t *inp = inputA.ptr(); in test_absmax_no_idx_q7() local 80 arm_absmax_no_idx_q7(inp, in test_absmax_no_idx_q7() 92 const q7_t *inp = inputA.ptr(); in test_absmax_q7() local 103 arm_absmax_q7(inp, in test_absmax_q7() 128 const q7_t *inp = inputA.ptr(); in test_min_q7() local 139 arm_min_q7(inp, in test_min_q7() [all …]
|
D | SupportTestsQ31.cpp | 14 const q31_t *inp = inputQ31.ptr(); in test_copy_q31() local 18 arm_copy_q31(inp, outp,this->nbSamples); in test_copy_q31() 46 const q31_t *inp = inputQ31.ptr(); in test_q31_f64() local 50 arm_q31_to_f64(inp, outp,this->nbSamples); in test_q31_f64() 60 const q31_t *inp = inputQ31.ptr(); in test_q31_float() local 64 arm_q31_to_float(inp, outp,this->nbSamples); in test_q31_float() 74 const q31_t *inp = inputQ31.ptr(); in test_q31_q15() local 78 arm_q31_to_q15(inp, outp,this->nbSamples); in test_q31_q15() 88 const q31_t *inp = inputQ31.ptr(); in test_q31_q7() local 92 arm_q31_to_q7(inp, outp,this->nbSamples); in test_q31_q7()
|
D | SupportTestsQ15.cpp | 18 const q15_t *inp = inputQ15.ptr(); in test_copy_q15() local 22 arm_copy_q15(inp, outp,this->nbSamples); in test_copy_q15() 50 const q15_t *inp = inputQ15.ptr(); in test_q15_f64() local 54 arm_q15_to_f64(inp, outp,this->nbSamples); in test_q15_f64() 64 const q15_t *inp = inputQ15.ptr(); in test_q15_float() local 68 arm_q15_to_float(inp, outp,this->nbSamples); in test_q15_float() 80 const q15_t *inp = inputQ15.ptr(); in test_q15_q31() local 84 arm_q15_to_q31(inp, outp,this->nbSamples); in test_q15_q31() 94 const q15_t *inp = inputQ15.ptr(); in test_q15_q7() local 98 arm_q15_to_q7(inp, outp,this->nbSamples); in test_q15_q7()
|
D | SupportTestsQ7.cpp | 18 const q7_t *inp = inputQ7.ptr(); in test_copy_q7() local 22 arm_copy_q7(inp, outp,this->nbSamples); in test_copy_q7() 51 const q7_t *inp = inputQ7.ptr(); in test_q7_f64() local 55 arm_q7_to_f64(inp, outp,this->nbSamples); in test_q7_f64() 65 const q7_t *inp = inputQ7.ptr(); in test_q7_float() local 69 arm_q7_to_float(inp, outp,this->nbSamples); in test_q7_float() 80 const q7_t *inp = inputQ7.ptr(); in test_q7_q31() local 84 arm_q7_to_q31(inp, outp,this->nbSamples); in test_q7_q31() 94 const q7_t *inp = inputQ7.ptr(); in test_q7_q15() local 98 arm_q7_to_q15(inp, outp,this->nbSamples); in test_q7_q15()
|
D | InterpolationTestsQ15.cpp | 19 const q31_t *inp = input.ptr(); in test_linear_interp_q15() local 25 outp[nb] = arm_linear_interp_q15(y.ptr(),inp[nb],y.nbSamples()); in test_linear_interp_q15() 39 const q31_t *inp = input.ptr(); in test_bilinear_interp_q15() local 45 x = inp[nb]; in test_bilinear_interp_q15() 46 y = inp[nb+1]; in test_bilinear_interp_q15()
|
D | InterpolationTestsQ31.cpp | 19 const q31_t *inp = input.ptr(); in test_linear_interp_q31() local 25 outp[nb] = arm_linear_interp_q31(y.ptr(),inp[nb],y.nbSamples()); in test_linear_interp_q31() 39 const q31_t *inp = input.ptr(); in test_bilinear_interp_q31() local 45 x = inp[nb]; in test_bilinear_interp_q31() 46 y = inp[nb+1]; in test_bilinear_interp_q31()
|
D | InterpolationTestsQ7.cpp | 19 const q31_t *inp = input.ptr(); in test_linear_interp_q7() local 25 outp[nb] = arm_linear_interp_q7(y.ptr(),inp[nb],y.nbSamples()); in test_linear_interp_q7() 38 const q31_t *inp = input.ptr(); in test_bilinear_interp_q7() local 44 x = inp[nb]; in test_bilinear_interp_q7() 45 y = inp[nb+1]; in test_bilinear_interp_q7()
|
D | SupportBarTestsF32.cpp | 9 const float32_t *inp = input.ptr(); in test_barycenter_f32() local 22 arm_barycenter_f32(inp, coefsp, in test_barycenter_f32() 27 inp += vecDim * nbVecs; in test_barycenter_f32()
|
D | SupportBarTestsF16.cpp | 9 const float16_t *inp = input.ptr(); in test_barycenter_f16() local 22 arm_barycenter_f16(inp, coefsp, in test_barycenter_f16() 27 inp += vecDim * nbVecs; in test_barycenter_f16()
|
/cmsis-dsp-3.5.0/Testing/Source/Benchmarks/ |
D | SVMF16.cpp | 10 arm_svm_linear_predict_f16(&this->linear,inp,&result); in test_svm_linear_predict_f16() 20 arm_svm_polynomial_predict_f16(&this->poly,inp,&result); in test_svm_polynomial_predict_f16() 29 arm_svm_rbf_predict_f16(&this->rbf,inp,&result); in test_svm_rbf_predict_f16() 38 arm_svm_sigmoid_predict_f16(&this->sigmoid,inp,&result); in test_svm_sigmoid_predict_f16() 70 inp=samples.ptr() + nbi; in setUp() 92 inp=samples.ptr() + nbi; in setUp() 112 inp=samples.ptr() + nbi; in setUp() 131 inp=samples.ptr() + nbi; in setUp()
|
D | SVMF32.cpp | 10 arm_svm_linear_predict_f32(&this->linear,inp,&result); in test_svm_linear_predict_f32() 20 arm_svm_polynomial_predict_f32(&this->poly,inp,&result); in test_svm_polynomial_predict_f32() 29 arm_svm_rbf_predict_f32(&this->rbf,inp,&result); in test_svm_rbf_predict_f32() 38 arm_svm_sigmoid_predict_f32(&this->sigmoid,inp,&result); in test_svm_sigmoid_predict_f32() 70 inp=samples.ptr() + nbi; in setUp() 92 inp=samples.ptr() + nbi; in setUp() 112 inp=samples.ptr() + nbi; in setUp() 131 inp=samples.ptr() + nbi; in setUp()
|