From dc20628864c133a1e8715213e1f033df3e8b4e52 Mon Sep 17 00:00:00 2001 From: Mateusz Hoppe Date: Tue, 28 Jan 2025 13:46:18 +0000 Subject: [PATCH] ci: infra update - adjust aub tests Signed-off-by: Mateusz Hoppe --- manifests/infra.yml | 2 +- .../command_queue/large_grf_aub_tests_xehp_and_later.cpp | 2 +- opencl/test/unit_test/aub_tests/fixtures/aub_fixture.h | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/manifests/infra.yml b/manifests/infra.yml index 03cd472db6..4fa348e858 100644 --- a/manifests/infra.yml +++ b/manifests/infra.yml @@ -3,7 +3,7 @@ components: branch: master dest_dir: infra fetch_tags: true - revision: v6658 + revision: v6663 type: git converter: M-3107 version: '1' diff --git a/opencl/test/unit_test/aub_tests/command_queue/large_grf_aub_tests_xehp_and_later.cpp b/opencl/test/unit_test/aub_tests/command_queue/large_grf_aub_tests_xehp_and_later.cpp index a2bd0c3c15..172c3627b8 100644 --- a/opencl/test/unit_test/aub_tests/command_queue/large_grf_aub_tests_xehp_and_later.cpp +++ b/opencl/test/unit_test/aub_tests/command_queue/large_grf_aub_tests_xehp_and_later.cpp @@ -459,7 +459,7 @@ HWTEST2_P(LargeGrfTest, givenMixedLargeGrfAndSmallGrfKernelsWhenExecutedThenResu } } else { auto &gfxCoreHelper = executionEnvironment->rootDeviceEnvironments[0]->getHelper(); - if (gfxCoreHelper.areSecondaryContextsSupported() == false) { + if (gfxCoreHelper.areSecondaryContextsSupported() == false || device->device.disableSecondaryEngines) { ASSERT_EQ(1u, largeGrfValues.size()); EXPECT_FALSE(largeGrfValues[0]); } else { diff --git a/opencl/test/unit_test/aub_tests/fixtures/aub_fixture.h b/opencl/test/unit_test/aub_tests/fixtures/aub_fixture.h index be8c396716..bcec58954b 100644 --- a/opencl/test/unit_test/aub_tests/fixtures/aub_fixture.h +++ b/opencl/test/unit_test/aub_tests/fixtures/aub_fixture.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018-2023 Intel Corporation + * Copyright (C) 2018-2025 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -53,6 +53,7 @@ class AUBFixture : public CommandQueueHwFixture { auto pDevice = MockDevice::create(executionEnvironment, rootDeviceIndex); device = std::make_unique(pDevice); + pDevice->disableSecondaryEngines = true; this->csr = pDevice->getDefaultEngine().commandStreamReceiver;