mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
refactor: adjust unit tests to work with secondary engines
Related-To: NEO-12952, NEO-13789 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c0838e1f76
commit
19a0a27862
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2024 Intel Corporation
|
||||
* Copyright (C) 2019-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -91,6 +91,10 @@ void DrmMemoryManagerFixture::tearDown() {
|
||||
enginesCount += engineContainer.size();
|
||||
}
|
||||
|
||||
for (auto &engineContainer : memoryManager->secondaryEngines) {
|
||||
enginesCount -= engineContainer.size();
|
||||
}
|
||||
|
||||
mock->ioctlExpected.contextDestroy = enginesCount;
|
||||
mock->ioctlExpected.gemClose = enginesCount;
|
||||
mock->ioctlExpected.gemWait = enginesCount;
|
||||
|
||||
Reference in New Issue
Block a user