@@ -25,7 +25,7 @@ using fmt = memory::format;
2525struct conv_any_fmt_test_params {
2626 prop_kind aprop_kind;
2727 const engine::kind engine_kind;
28- convolution_forward:: algorithm aalgorithm;
28+ algorithm aalgorithm;
2929 fmt src_fmt_in;
3030 fmt src_fmt_exp;
3131 fmt weights_fmt_in;
@@ -48,7 +48,7 @@ class convolution_any_fmt_test
4848
4949 ASSERT_TRUE (p.engine_kind == engine::kind::cpu);
5050 ASSERT_EQ (p.aprop_kind , prop_kind::forward);
51- ASSERT_EQ (p.aalgorithm , convolution_forward::direct );
51+ ASSERT_EQ (p.aalgorithm , algorithm::convolution_direct );
5252 auto eng = engine (p.engine_kind , 0 );
5353 memory::data_type data_type = data_traits<data_t >::data_type;
5454 ASSERT_EQ (data_type, mkldnn::memory::data_type::f32 );
@@ -113,35 +113,35 @@ TEST_P(conv_any_fmt_test_float, TestsConvolutionAnyFmt)
113113}
114114INSTANTIATE_TEST_CASE_P (TestConvolutionAnyFmtForward, conv_any_fmt_test_float,
115115 ::testing::Values (conv_any_fmt_test_params_float{ prop_kind::forward,
116- engine::kind::cpu, convolution_forward::direct , fmt::any, fmt::nchw,
116+ engine::kind::cpu, algorithm::convolution_direct , fmt::any, fmt::nchw,
117117 fmt::any, fmt::oihw, fmt::any, fmt::x, fmt::any, fmt::nchw,
118118 { 2 , 1 , 4 , 4 , 4 , 6 , 4 , 4 , 3 , 3 , 1 , 1 , 1 , 1 } }));
119119
120120INSTANTIATE_TEST_CASE_P (
121121 TestConvolutionAlexnetAnyFmtForwardBlocked, conv_any_fmt_test_float,
122122 ::testing::Values (
123123 conv_any_fmt_test_params_float{ prop_kind::forward,
124- engine::kind::cpu, convolution_forward::direct , fmt::any,
124+ engine::kind::cpu, algorithm::convolution_direct , fmt::any,
125125 fmt::nchw, fmt::any, fmt::Ohwi8o, fmt::any, fmt::x,
126126 fmt::any, fmt::nChw8c,
127127 { 2 , 1 , 3 , 227 , 227 , 96 , 55 , 55 , 11 , 11 , 0 , 0 , 4 , 4 } },
128128 conv_any_fmt_test_params_float{ prop_kind::forward,
129- engine::kind::cpu, convolution_forward::direct , fmt::any,
129+ engine::kind::cpu, algorithm::convolution_direct , fmt::any,
130130 fmt::nChw8c, fmt::any, fmt::gOIhw8i8o , fmt::any, fmt::x,
131131 fmt::any, fmt::nChw8c,
132132 { 2 , 2 , 96 , 27 , 27 , 256 , 27 , 27 , 5 , 5 , 2 , 2 , 1 , 1 } },
133133 conv_any_fmt_test_params_float{ prop_kind::forward,
134- engine::kind::cpu, convolution_forward::direct , fmt::any,
134+ engine::kind::cpu, algorithm::convolution_direct , fmt::any,
135135 fmt::nChw8c, fmt::any, fmt::OIhw8i8o, fmt::any, fmt::x,
136136 fmt::any, fmt::nChw8c,
137137 { 2 , 1 , 256 , 13 , 13 , 384 , 13 , 13 , 3 , 3 , 1 , 1 , 1 , 1 } },
138138 conv_any_fmt_test_params_float{ prop_kind::forward,
139- engine::kind::cpu, convolution_forward::direct , fmt::any,
139+ engine::kind::cpu, algorithm::convolution_direct , fmt::any,
140140 fmt::nChw8c, fmt::any, fmt::gOIhw8i8o , fmt::any, fmt::x,
141141 fmt::any, fmt::nChw8c,
142142 { 2 , 2 , 384 , 13 , 13 , 384 , 13 , 13 , 3 , 3 , 1 , 1 , 1 , 1 } },
143143 conv_any_fmt_test_params_float{ prop_kind::forward,
144- engine::kind::cpu, convolution_forward::direct , fmt::any,
144+ engine::kind::cpu, algorithm::convolution_direct , fmt::any,
145145 fmt::nChw8c, fmt::any, fmt::gOIhw8i8o , fmt::any, fmt::x,
146146 fmt::any, fmt::nChw8c, { 2 , 2 , 384 , 13 , 13 , 256 , 13 , 13 ,
147147 3 , 3 , 1 , 1 , 1 , 1 } }));
0 commit comments