float out_buffer[out_size];
float expected_buffer[out_size];
- cldnn::engine engine;
+ const cldnn::engine& engine;
cldnn::memory input;
+
//neural::primitive output = memory::allocate({ memory::format::xb_f32, {output_b, {{output_x}}, 1}});
softmax_gpu_xb_f32_test_fixture()
- :engine()
+ : engine(get_test_engine())
,input(memory::allocate(engine, { data_types::f32, format::yxfb, { input_b, 1, input_x, 1}}))
{}
// Input : 2x3x2x2
static const int32_t x_size = 2, y_size = 2, feature_num = 3,
batch_num = 2, buf_size = x_size*y_size * batch_num * feature_num;
- engine engine;
+ const auto& engine = get_test_engine();
auto input = memory::allocate(engine, { data_types::f32, format::bfyx,{ batch_num, feature_num, x_size , y_size } });
topology topology;
// Input : 2x3x2x2
static const int32_t x_size = 2, y_size = 2, feature_num = 3,
batch_num = 2, buf_size = x_size*y_size * batch_num * feature_num;
- engine engine;
+ const auto& engine = get_test_engine();
auto input = memory::allocate(engine, { data_types::f32, format::bfyx,{ batch_num, feature_num, x_size , y_size } });
topology topology;
// Input : 2x3x2x2
static const int32_t x_size = 2, y_size = 2, feature_num = 3,
batch_num = 2, buf_size = x_size*y_size * batch_num * feature_num;
- engine engine;
+ const auto& engine = get_test_engine();
auto input = memory::allocate(engine, { data_types::f32, format::bfyx,{ batch_num, feature_num, x_size , y_size } });
topology topology;
static const int32_t x_size = 1, y_size = 2, feature_num = 1,
batch_num = 12, buf_size = x_size*y_size * batch_num * feature_num;
- engine engine;
+ const auto& engine = get_test_engine();
auto input = memory::allocate(engine, { data_types::f32, format::yxfb,{ batch_num, feature_num, y_size , x_size } });
topology topology;