mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
Enable Engine Instanced SubDevices
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
a139c7b2aa
commit
7f3b90b07f
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user