Home | History | Annotate | Download | only in test

Lines Matching defs:depth

43 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
44 typename internal::enable_if<! ( (Rows ==1&&Depth!=1&&OA==ColMajor)
45 || (Depth==1&&Rows !=1&&OA==RowMajor)
46 || (Cols ==1&&Depth!=1&&OB==RowMajor)
47 || (Depth==1&&Cols !=1&&OB==ColMajor)
50 test_lazy_single(int rows, int cols, int depth)
52 Matrix<T,Rows,Depth,OA> A(rows,depth); A.setRandom();
53 Matrix<T,Depth,Cols,OB> B(depth,cols); B.setRandom();
59 template<typename T, int Rows, int Cols, int Depth, int OC, int OA, int OB>
60 typename internal::enable_if< ( (Rows ==1&&Depth!=1&&OA==ColMajor)
61 || (Depth==1&&Rows !=1&&OA==RowMajor)
62 || (Cols ==1&&Depth!=1&&OB==RowMajor)
63 || (Depth==1&&Cols !=1&&OB==ColMajor)
70 template<typename T, int Rows, int Cols, int Depth>
71 void test_lazy_all_layout(int rows=Rows, int cols=Cols, int depth=Depth)
73 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,ColMajor,ColMajor>(rows,cols,depth) ));
74 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,ColMajor,ColMajor>(rows,cols,depth) ));
75 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,RowMajor,ColMajor>(rows,cols,depth) ));
76 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,RowMajor,ColMajor>(rows,cols,depth) ));
77 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,ColMajor,RowMajor>(rows,cols,depth) ));
78 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,ColMajor,RowMajor>(rows,cols,depth) ));
79 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,ColMajor,RowMajor,RowMajor>(rows,cols,depth) ));
80 CALL_SUBTEST(( test_lazy_single<T,Rows,Cols,Depth,RowMajor,RowMajor,RowMajor>(rows,cols,depth) ));
88 int depth = internal::random<int>(1,12);
96 CALL_SUBTEST(( test_lazy_all_layout<T,1,1,-1>(1,1,depth) ));
117 int depth = internal::random<int>(1,12);
130 CALL_SUBTEST(( test_lazy_all_layout<T,4,1,-1>(4,1,depth) ));
131 CALL_SUBTEST(( test_lazy_all_layout<T,-1,1,-1>(rows,1,depth) ));
144 CALL_SUBTEST(( test_lazy_all_layout<T,1, 4,-1>(1,4,depth) ));
145 CALL_SUBTEST(( test_lazy_all_layout<T,1,-1,-1>(1,cols,depth) ));
153 int depth = internal::random<int>(1,12);
165 CALL_SUBTEST(( test_lazy_all_layout<T,4,3,-1>(4,3,depth) ));
166 CALL_SUBTEST(( test_lazy_all_layout<T,-1,6,-1>(rows,6,depth) ));
177 CALL_SUBTEST(( test_lazy_all_layout<T,3, 4,-1>(3,4,depth) ));
178 CALL_SUBTEST(( test_lazy_all_layout<T,4,-1,-1>(4,cols,depth) ));