1 #ifndef _VIENNACL_MATRIX_PROD_COL_ROW_ROW_KERNELS_HPP_
2 #define _VIENNACL_MATRIX_PROD_COL_ROW_ROW_KERNELS_HPP_
16 template<
class TYPE,
unsigned int alignment>
17 struct matrix_prod_col_row_row;
22 struct matrix_prod_col_row_row<float, 1>
24 static std::string program_name()
26 return "f_matrix_prod_col_row_row_1";
31 static std::map<cl_context, bool> init_done;
33 if (!init_done[context_.
handle()])
40 std::string prog_name = program_name();
41 #ifdef VIENNACL_BUILD_INFO
42 std::cout <<
"Creating program " << prog_name << std::endl;
50 init_done[context_.
handle()] =
true;
59 struct matrix_prod_col_row_row<double, 1>
61 static std::string program_name()
63 return "d_matrix_prod_col_row_row_1";
68 static std::map<cl_context, bool> init_done;
70 if (!init_done[context_.
handle()])
78 std::string prog_name = program_name();
79 #ifdef VIENNACL_BUILD_INFO
80 std::cout <<
"Creating program " << prog_name << std::endl;
88 init_done[context_.
handle()] =
true;