Lines Matching +full:- +full:t
16 template<typename T,int NB>
19 std::cout << "----\r\n" << "N = " << NB << "\r\n"; in test()
21 PVector<T,NB> a; in test()
22 PVector<T,NB> b; in test()
24 PVector<T> a(NB); in test()
25 PVector<T> b(NB); in test()
36 PVector<T,NB> res = a + b; in test()
38 PVector<T> res = copy(a + b); in test()
48 PVector<T,NB> ref; in test()
50 PVector<T> ref(NB); in test()
64 template<typename T,int NB>
67 std::cout << "----\r\n" << "N = " << NB << "\r\n"; in test_view()
69 PVector<T,NB> a; in test_view()
70 PVector<T,NB> b; in test_view()
72 PVector<T> a(NB); in test_view()
73 PVector<T> b(NB); in test_view()
82 //std::cout << PVector<T,NB/2>(a.template sub<2>()); in test_view()
88 PVector<T,NB/2> res = a.template sub<2>() + b.template sub<2>(); in test_view()
90 PVector<T> res = a.template sub<2>() + b.template sub<2>(); in test_view()
96 PVector<T,NB/2> ref; in test_view()
102 PVector<T,NB/2> da(a.template sub<2>()); in test_view()
103 PVector<T,NB/2> db(b.template sub<2>()); in test_view()
114 template<typename T,int NB>
117 std::cout << "----\r\n" << "N = " << NB << "\r\n"; in test_fill()
123 PVector<T,NB> res(T(1)); in test_fill()
125 PVector<T> res(NB,T(1)); in test_fill()
133 template<typename T>
138 const int nb_tails = TailForTests<T>::tail; in all_vector_test()
139 const int nb_loops = TailForTests<T>::loop; in all_vector_test()
141 title<T>("Vector"); in all_vector_test()
144 test<T,NBVEC_4>(); in all_vector_test()
145 test<T,NBVEC_8>(); in all_vector_test()
146 test<T,NBVEC_9>(); in all_vector_test()
147 test<T,NBVEC_16>(); in all_vector_test()
148 test<T,NBVEC_32>(); in all_vector_test()
149 test<T,NBVEC_64>(); in all_vector_test()
150 test<T,NBVEC_128>(); in all_vector_test()
151 test<T,NBVEC_256>(); in all_vector_test()
152 test<T,NBVEC_258>(); in all_vector_test()
153 test<T,NBVEC_512>(); in all_vector_test()
154 test<T,NBVEC_1024>(); in all_vector_test()
155 test<T,NBVEC_2048>(); in all_vector_test()
158 test<T,1>(); in all_vector_test()
159 test<T,nb_tails>(); in all_vector_test()
160 test<T,nb_loops>(); in all_vector_test()
161 test<T,nb_loops+1>(); in all_vector_test()
162 test<T,nb_loops+nb_tails>(); in all_vector_test()
165 title<T>("Vector View"); in all_vector_test()
167 test_view<T,NBVEC_4>(); in all_vector_test()
168 test_view<T,NBVEC_8>(); in all_vector_test()
169 test_view<T,NBVEC_16>(); in all_vector_test()
170 test_view<T,NBVEC_32>(); in all_vector_test()
171 test_view<T,NBVEC_64>(); in all_vector_test()
175 test_view<T,nb_tails>(); in all_vector_test()
177 test_view<T,nb_loops>(); in all_vector_test()
178 test_view<T,nb_loops+1>(); in all_vector_test()
179 test_view<T,nb_loops+nb_tails>(); in all_vector_test()
182 title<T>("Vector fill"); in all_vector_test()
183 test_fill<T,NBVEC_4>(); in all_vector_test()
184 test_fill<T,NBVEC_8>(); in all_vector_test()
185 test_fill<T,NBVEC_16>(); in all_vector_test()
186 test_fill<T,NBVEC_32>(); in all_vector_test()
187 test_fill<T,NBVEC_64>(); in all_vector_test()
189 test_fill<T,1>(); in all_vector_test()
190 test_fill<T,nb_tails>(); in all_vector_test()
191 test_fill<T,nb_loops>(); in all_vector_test()
192 test_fill<T,nb_loops+1>(); in all_vector_test()
193 test_fill<T,nb_loops+nb_tails>(); in all_vector_test()