From de2302a711edcf2b58008e42ba43748b06c458cc Mon Sep 17 00:00:00 2001 From: Taylor Yeonbok Lee Date: Mon, 22 May 2023 16:57:56 -0700 Subject: [PATCH] Prevented gather fusion test for dgpu dynamic shape (#17616) --- .../intel_gpu/tests/unit/fusions/gather_fusion_test.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugins/intel_gpu/tests/unit/fusions/gather_fusion_test.cpp b/src/plugins/intel_gpu/tests/unit/fusions/gather_fusion_test.cpp index 054b78e5398..39022f9f7b8 100644 --- a/src/plugins/intel_gpu/tests/unit/fusions/gather_fusion_test.cpp +++ b/src/plugins/intel_gpu/tests/unit/fusions/gather_fusion_test.cpp @@ -211,6 +211,11 @@ INSTANTIATE_TEST_SUITE_P(fusings_gpu, gather_eltwise_activation, ::testing::Valu class gather_eltwise_activation_dynamic : public GatherPrimitiveFusingTest {}; TEST_P(gather_eltwise_activation_dynamic, basic) { auto p = GetParam(); + // Currently, eltwise fusion for dynamic shape + onednn is prevented + // To be removed once dynamic shape fusion is allowed for onednn + if (engine.get_device_info().supports_immad) + return; + create_topologies( input_layout("input", get_input_layout(p, true)), input_layout("gather_indices", layout{ ov::PartialShape::dynamic(p.indices_shape.size()), p.data_type, format::bfyx }), @@ -228,4 +233,4 @@ INSTANTIATE_TEST_SUITE_P(fusings_gpu, gather_eltwise_activation_dynamic, ::testi gather_test_params{ CASE_GATHER_FP32_6, 4, 6 }, gather_test_params{ CASE_GATHER_FP16_6, 4, 6 }, gather_test_params{ CASE_GATHER_FP16_7, 4, 6 }, -})); \ No newline at end of file +}));