From dfd5b461f143a68ddb194c159db567c1743f2443 Mon Sep 17 00:00:00 2001 From: Pavel Durandin Date: Thu, 20 Oct 2022 09:56:29 +0400 Subject: [PATCH] [GPU] Fix gpu unit and functional tests on windows (#13560) --- src/plugins/intel_gpu/tests/test_cases/pooling_gpu_test.cpp | 2 +- src/plugins/intel_gpu/tests/test_cases/variable.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/intel_gpu/tests/test_cases/pooling_gpu_test.cpp b/src/plugins/intel_gpu/tests/test_cases/pooling_gpu_test.cpp index 7bc634326fd..ecf3fc61297 100644 --- a/src/plugins/intel_gpu/tests/test_cases/pooling_gpu_test.cpp +++ b/src/plugins/intel_gpu/tests/test_cases/pooling_gpu_test.cpp @@ -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); diff --git a/src/plugins/intel_gpu/tests/test_cases/variable.cpp b/src/plugins/intel_gpu/tests/test_cases/variable.cpp index f4766c9f36c..8fb07a01c93 100644 --- a/src/plugins/intel_gpu/tests/test_cases/variable.cpp +++ b/src/plugins/intel_gpu/tests/test_cases/variable.cpp @@ -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()));