Verify DX sharing based on AdapterLuid

Change-Id: I86e970cbc48256e5941f0a071dc549dd22423105
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-08-07 10:20:07 +02:00
committed by sys_ocldev
parent d00daac06f
commit 1e7f05e185
6 changed files with 46 additions and 20 deletions

View File

@ -93,6 +93,8 @@ class D3DTests : public PlatformFixture, public ::testing::Test {
}
void SetUp() override {
VariableBackup<UltHwConfig> backup(&ultHwConfig);
ultHwConfig.useMockedPrepareDeviceEnvironmentsFunc = false;
PlatformFixture::SetUp();
rootDeviceIndex = pPlatform->getClDevice(0)->getRootDeviceIndex();
context = new MockContext(pPlatform->getClDevice(0));