Enable Engine Instanced SubDevices

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2021-09-02 16:40:42 +00:00
committed by Compute-Runtime-Automation
parent a139c7b2aa
commit 7f3b90b07f
10 changed files with 194 additions and 62 deletions

View File

@ -82,7 +82,10 @@ TEST(ExecutionEnvironment, givenDeviceThatHaveRefferencesAfterPlatformIsDestroye
device->incRefInternal();
platform.reset(nullptr);
EXPECT_EQ(1, device->getRefInternalCount());
EXPECT_EQ(1, executionEnvironment->getRefInternalCount());
int32_t expectedRefCount = 1 + device->getNumSubDevices();
EXPECT_EQ(expectedRefCount, executionEnvironment->getRefInternalCount());
device->decRefInternal();
}