Lines Matching refs:Mode
28 void print_mode(int mode)
30 if(mode==InnerProduct) std::cout << "i";
31 if(mode==OuterProduct) std::cout << "o";
32 if(mode==CoeffBasedProductMode) std::cout << "c";
33 if(mode==LazyCoeffBasedProductMode) std::cout << "l";
34 if(mode==GemvProduct) std::cout << "v";
35 if(mode==GemmProduct) std::cout << "m";
38 template<int Mode, typename Lhs, typename Rhs, typename Res>
41 c.noalias() += typename ProductReturnType<Lhs,Rhs,Mode>::Type(a,b);
44 template<int M, int N, int K, typename Scalar, int Mode>
63 BENCH(t,5,rep,prod<Mode>(a,b,c));
65 print_mode(Mode);
71 template<int M, int N, int K, typename Scalar, int Mode> struct loop_on_n;
113 template<int M, int N, int K, typename Scalar, int Mode>
118 bench_prod<M,N,K,Scalar,Mode==-1? alt_prod<M,N,K>::ret : Mode>();
120 loop_on_n<M,N+1,K,Scalar,Mode>::run();
124 template<int M, int K, typename Scalar, int Mode>
125 struct loop_on_n<M,END,K,Scalar,Mode> { static void run(){} };