[GPU] Fix gpu unit and functional tests on windows (#13560)

This commit is contained in:
Pavel Durandin
2022-10-20 09:56:29 +04:00
committed by GitHub
parent 3500d75187
commit dfd5b461f1
2 changed files with 2 additions and 2 deletions

View File

@@ -1452,7 +1452,7 @@ TEST(pooling_forward_gpu, basic_in2x2x3x2x1_max_with_argmax) {
topology topology;
topology.add(input_layout("input", input->get_layout()));
topology.add(mutable_data("arg_max", arg_max));
topology.add(pooling("pooling", "input", "arg_max", pooling_mode::max_with_argmax, { 1, 2, 2 }, { 1, 1, 1 }));
topology.add(pooling("pooling", "input", "arg_max", pooling_mode::max_with_argmax, { 1, 2, 2 }, { 1, 1, 1 }, {0, 0, 0}));
network network(engine, topology);

View File

@@ -115,7 +115,7 @@ TEST(variable_test_common, exception_on_wrong_layout) {
auto wrong_layout = variable_layout;
wrong_layout.data_type = data_types::f32;
const auto wrong_input_data = engine.allocate_memory(wrong_layout);
set_values(input_data, {333.666});
set_values(input_data, {333.666f});
topology topology;
topology.add(input_layout("input", input_data->get_layout()));