Lines Matching +full:- +full:s
8 #define REL_ERROR (1.0e-5)
23 *outp=arm_weighted_average_f32(inp, coefsp,this->nbSamples); in test_weighted_average_f32()
26 ASSERT_REL_ERROR(*outp,refp[this->offset],REL_ERROR); in test_weighted_average_f32()
37 arm_copy_f32(inp, outp,this->nbSamples); in test_copy_f32()
52 arm_fill_f32(val, outp,this->nbSamples); in test_fill_f32()
55 for(i=0 ; i < this->nbSamples; i++) in test_fill_f32()
69 arm_float_to_q15(inp, outp,this->nbSamples); in test_float_to_q15()
83 arm_float_to_f64(inp, outp,this->nbSamples); in test_float_to_f64()
96 arm_float_to_q31(inp, outp,this->nbSamples); in test_float_to_q31()
110 arm_float_to_q7(inp, outp,this->nbSamples); in test_float_to_q7()
122 arm_sort_instance_f32 S; in test_bitonic_sort_out_f32() local
124 arm_sort_init_f32(&S, ARM_SORT_BITONIC, ARM_SORT_ASCENDING); in test_bitonic_sort_out_f32()
126 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_bitonic_sort_out_f32()
137 arm_sort_instance_f32 S; in test_bitonic_sort_in_f32() local
139 arm_sort_init_f32(&S, ARM_SORT_BITONIC, ARM_SORT_ASCENDING); in test_bitonic_sort_in_f32()
141 arm_sort_f32(&S,inp,inp,this->nbSamples); in test_bitonic_sort_in_f32()
153 arm_sort_instance_f32 S; in test_bitonic_sort_const_f32() local
155 arm_sort_init_f32(&S, ARM_SORT_BITONIC, ARM_SORT_ASCENDING); in test_bitonic_sort_const_f32()
157 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_bitonic_sort_const_f32()
169 arm_sort_instance_f32 S; in test_bubble_sort_out_f32() local
171 arm_sort_init_f32(&S, ARM_SORT_BUBBLE, ARM_SORT_ASCENDING); in test_bubble_sort_out_f32()
173 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_bubble_sort_out_f32()
184 arm_sort_instance_f32 S; in test_bubble_sort_in_f32() local
186 arm_sort_init_f32(&S, ARM_SORT_BUBBLE, ARM_SORT_ASCENDING); in test_bubble_sort_in_f32()
188 arm_sort_f32(&S,inp,inp,this->nbSamples); in test_bubble_sort_in_f32()
200 arm_sort_instance_f32 S; in test_bubble_sort_const_f32() local
202 arm_sort_init_f32(&S, ARM_SORT_BUBBLE, ARM_SORT_ASCENDING); in test_bubble_sort_const_f32()
204 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_bubble_sort_const_f32()
216 arm_sort_instance_f32 S; in test_heap_sort_out_f32() local
218 arm_sort_init_f32(&S, ARM_SORT_HEAP, ARM_SORT_ASCENDING); in test_heap_sort_out_f32()
220 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_heap_sort_out_f32()
231 arm_sort_instance_f32 S; in test_heap_sort_in_f32() local
233 arm_sort_init_f32(&S, ARM_SORT_HEAP, ARM_SORT_ASCENDING); in test_heap_sort_in_f32()
235 arm_sort_f32(&S,inp,inp,this->nbSamples); in test_heap_sort_in_f32()
246 arm_sort_instance_f32 S; in test_heap_sort_const_f32() local
248 arm_sort_init_f32(&S, ARM_SORT_HEAP, ARM_SORT_ASCENDING); in test_heap_sort_const_f32()
250 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_heap_sort_const_f32()
262 arm_sort_instance_f32 S; in test_insertion_sort_out_f32() local
264 arm_sort_init_f32(&S, ARM_SORT_INSERTION, ARM_SORT_ASCENDING); in test_insertion_sort_out_f32()
266 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_insertion_sort_out_f32()
277 arm_sort_instance_f32 S; in test_insertion_sort_in_f32() local
279 arm_sort_init_f32(&S, ARM_SORT_INSERTION, ARM_SORT_ASCENDING); in test_insertion_sort_in_f32()
281 arm_sort_f32(&S,inp,inp,this->nbSamples); in test_insertion_sort_in_f32()
293 arm_sort_instance_f32 S; in test_insertion_sort_const_f32() local
295 arm_sort_init_f32(&S, ARM_SORT_INSERTION, ARM_SORT_ASCENDING); in test_insertion_sort_const_f32()
297 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_insertion_sort_const_f32()
310 buf = (float32_t *)malloc((this->nbSamples)*sizeof(float32_t) ); in test_merge_sort_out_f32()
311 arm_merge_sort_instance_f32 S; in test_merge_sort_out_f32() local
313 arm_merge_sort_init_f32(&S, ARM_SORT_ASCENDING, buf); in test_merge_sort_out_f32()
314 arm_merge_sort_f32(&S,inp,outp,this->nbSamples); in test_merge_sort_out_f32()
327 buf = (float32_t *)malloc((this->nbSamples)*sizeof(float32_t) ); in test_merge_sort_const_f32()
328 arm_merge_sort_instance_f32 S; in test_merge_sort_const_f32() local
330 arm_merge_sort_init_f32(&S, ARM_SORT_ASCENDING, buf); in test_merge_sort_const_f32()
331 arm_merge_sort_f32(&S,inp,outp,this->nbSamples); in test_merge_sort_const_f32()
342 arm_sort_instance_f32 S; in test_quick_sort_out_f32() local
344 arm_sort_init_f32(&S, ARM_SORT_QUICK, ARM_SORT_ASCENDING); in test_quick_sort_out_f32()
346 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_quick_sort_out_f32()
357 arm_sort_instance_f32 S; in test_quick_sort_in_f32() local
359 arm_sort_init_f32(&S, ARM_SORT_QUICK, ARM_SORT_ASCENDING); in test_quick_sort_in_f32()
361 arm_sort_f32(&S,inp,inp,this->nbSamples); in test_quick_sort_in_f32()
373 arm_sort_instance_f32 S; in test_quick_sort_const_f32() local
375 arm_sort_init_f32(&S, ARM_SORT_QUICK, ARM_SORT_ASCENDING); in test_quick_sort_const_f32()
377 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_quick_sort_const_f32()
389 arm_sort_instance_f32 S; in test_selection_sort_out_f32() local
391 arm_sort_init_f32(&S, ARM_SORT_SELECTION, ARM_SORT_ASCENDING); in test_selection_sort_out_f32()
393 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_selection_sort_out_f32()
404 arm_sort_instance_f32 S; in test_selection_sort_in_f32() local
406 arm_sort_init_f32(&S, ARM_SORT_SELECTION, ARM_SORT_ASCENDING); in test_selection_sort_in_f32()
408 arm_sort_f32(&S,inp,inp,this->nbSamples); in test_selection_sort_in_f32()
420 arm_sort_instance_f32 S; in test_selection_sort_const_f32() local
422 arm_sort_init_f32(&S, ARM_SORT_SELECTION, ARM_SORT_ASCENDING); in test_selection_sort_const_f32()
424 arm_sort_f32(&S,inp,outp,this->nbSamples); in test_selection_sort_const_f32()
440 this->nbSamples = 3; in setUp()
441 input.reload(SupportTestsF32::INPUTS_F32_ID,mgr,this->nbSamples); in setUp()
442 coefs.reload(SupportTestsF32::WEIGHTS_F32_ID,mgr,this->nbSamples); in setUp()
447 this->offset=0; in setUp()
451 this->nbSamples = 8; in setUp()
452 input.reload(SupportTestsF32::INPUTS_F32_ID,mgr,this->nbSamples); in setUp()
453 coefs.reload(SupportTestsF32::WEIGHTS_F32_ID,mgr,this->nbSamples); in setUp()
458 this->offset=1; in setUp()
462 this->nbSamples = 11; in setUp()
463 input.reload(SupportTestsF32::INPUTS_F32_ID,mgr,this->nbSamples); in setUp()
464 coefs.reload(SupportTestsF32::WEIGHTS_F32_ID,mgr,this->nbSamples); in setUp()
469 this->offset=2; in setUp()
473 this->nbSamples = 3; in setUp()
474 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
481 this->nbSamples = 8; in setUp()
482 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
489 this->nbSamples = 11; in setUp()
490 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
497 this->nbSamples = 3; in setUp()
499 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
504 this->nbSamples = 8; in setUp()
506 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
511 this->nbSamples = 11; in setUp()
513 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
518 this->nbSamples = 7; in setUp()
519 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
520 refQ15.reload(SupportTestsF32::SAMPLES_Q15_ID,mgr,this->nbSamples); in setUp()
521 outputQ15.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
526 this->nbSamples = 16; in setUp()
527 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
528 refQ15.reload(SupportTestsF32::SAMPLES_Q15_ID,mgr,this->nbSamples); in setUp()
529 outputQ15.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
534 this->nbSamples = 17; in setUp()
535 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
536 refQ15.reload(SupportTestsF32::SAMPLES_Q15_ID,mgr,this->nbSamples); in setUp()
537 outputQ15.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
542 this->nbSamples = 3; in setUp()
543 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
544 refQ31.reload(SupportTestsF32::SAMPLES_Q31_ID,mgr,this->nbSamples); in setUp()
545 outputQ31.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
550 this->nbSamples = 8; in setUp()
551 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
552 refQ31.reload(SupportTestsF32::SAMPLES_Q31_ID,mgr,this->nbSamples); in setUp()
553 outputQ31.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
558 this->nbSamples = 11; in setUp()
559 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
560 refQ31.reload(SupportTestsF32::SAMPLES_Q31_ID,mgr,this->nbSamples); in setUp()
561 outputQ31.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
566 this->nbSamples = 15; in setUp()
567 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
568 refQ7.reload(SupportTestsF32::SAMPLES_Q7_ID,mgr,this->nbSamples); in setUp()
569 outputQ7.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
574 this->nbSamples = 32; in setUp()
575 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
576 refQ7.reload(SupportTestsF32::SAMPLES_Q7_ID,mgr,this->nbSamples); in setUp()
577 outputQ7.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
582 this->nbSamples = 33; in setUp()
583 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
584 refQ7.reload(SupportTestsF32::SAMPLES_Q7_ID,mgr,this->nbSamples); in setUp()
585 outputQ7.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
590 this->nbSamples = 16; in setUp()
591 input.reload(SupportTestsF32::INPUT_BITONIC_SORT_16_F32_ID,mgr,this->nbSamples); in setUp()
593 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
597 this->nbSamples = 32; in setUp()
598 input.reload(SupportTestsF32::INPUT_BITONIC_SORT_32_F32_ID,mgr,this->nbSamples); in setUp()
600 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
604 this->nbSamples = 32; in setUp()
605 input.reload(SupportTestsF32::INPUT_BITONIC_SORT_32_F32_ID,mgr,this->nbSamples); in setUp()
607 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
611 this->nbSamples = 16; in setUp()
612 input.reload(SupportTestsF32::INPUT_SORT_CONST_F32_ID,mgr,this->nbSamples); in setUp()
614 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
618 this->nbSamples = 11; in setUp()
619 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
621 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
625 this->nbSamples = 11; in setUp()
626 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
628 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
632 this->nbSamples = 16; in setUp()
633 input.reload(SupportTestsF32::INPUT_SORT_CONST_F32_ID,mgr,this->nbSamples); in setUp()
635 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
639 this->nbSamples = 11; in setUp()
640 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
642 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
646 this->nbSamples = 11; in setUp()
647 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
649 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
653 this->nbSamples = 16; in setUp()
654 input.reload(SupportTestsF32::INPUT_SORT_CONST_F32_ID,mgr,this->nbSamples); in setUp()
656 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
660 this->nbSamples = 11; in setUp()
661 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
663 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
667 this->nbSamples = 11; in setUp()
668 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
670 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
674 this->nbSamples = 16; in setUp()
675 input.reload(SupportTestsF32::INPUT_SORT_CONST_F32_ID,mgr,this->nbSamples); in setUp()
677 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
681 this->nbSamples = 11; in setUp()
682 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
684 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
688 this->nbSamples = 16; in setUp()
689 input.reload(SupportTestsF32::INPUT_SORT_CONST_F32_ID,mgr,this->nbSamples); in setUp()
691 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
695 this->nbSamples = 11; in setUp()
696 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
698 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
702 this->nbSamples = 11; in setUp()
703 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
705 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
709 this->nbSamples = 16; in setUp()
710 input.reload(SupportTestsF32::INPUT_SORT_CONST_F32_ID,mgr,this->nbSamples); in setUp()
712 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
716 this->nbSamples = 11; in setUp()
717 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
719 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
723 this->nbSamples = 11; in setUp()
724 input.reload(SupportTestsF32::INPUT_SORT_F32_ID,mgr,this->nbSamples); in setUp()
726 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
730 this->nbSamples = 16; in setUp()
731 input.reload(SupportTestsF32::INPUT_SORT_CONST_F32_ID,mgr,this->nbSamples); in setUp()
733 output.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
737 this->nbSamples = 7; in setUp()
738 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
739 refF64.reload(SupportTestsF32::SAMPLES_F64_ID,mgr,this->nbSamples); in setUp()
740 outputF64.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
745 this->nbSamples = 16; in setUp()
746 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
747 refF64.reload(SupportTestsF32::SAMPLES_F64_ID,mgr,this->nbSamples); in setUp()
748 outputF64.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()
753 this->nbSamples = 17; in setUp()
754 input.reload(SupportTestsF32::SAMPLES_F32_ID,mgr,this->nbSamples); in setUp()
755 refF64.reload(SupportTestsF32::SAMPLES_F64_ID,mgr,this->nbSamples); in setUp()
756 outputF64.create(this->nbSamples,SupportTestsF32::OUT_F32_ID,mgr); in setUp()