Prevented gather fusion test for dgpu dynamic shape (#17616)

This commit is contained in:
Taylor Yeonbok Lee 2023-05-22 16:57:56 -07:00 committed by GitHub
parent a591514250
commit de2302a711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,11 @@ INSTANTIATE_TEST_SUITE_P(fusings_gpu, gather_eltwise_activation, ::testing::Valu
class gather_eltwise_activation_dynamic : public GatherPrimitiveFusingTest {}; class gather_eltwise_activation_dynamic : public GatherPrimitiveFusingTest {};
TEST_P(gather_eltwise_activation_dynamic, basic) { TEST_P(gather_eltwise_activation_dynamic, basic) {
auto p = GetParam(); 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( create_topologies(
input_layout("input", get_input_layout(p, true)), 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 }), input_layout("gather_indices", layout{ ov::PartialShape::dynamic(p.indices_shape.size()), p.data_type, format::bfyx }),