mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
Extract HwDeviceId from Wddm
Related-To: NEO-4208 Change-Id: I79f3e9488fbf641dd8237122335b52f5e44c11b9 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
8cfcfd6702
commit
938f578e9a
@@ -86,7 +86,7 @@ struct GlArbSyncEventOsTest : public ::testing::Test {
|
||||
sharing.GLDeviceHandle = 0x3cU;
|
||||
wddm = new WddmMock(*rootDeviceEnvironment);
|
||||
gdi = new MockGdi();
|
||||
wddm->gdi.reset(gdi);
|
||||
wddm->resetGdi(gdi);
|
||||
osInterface.get()->setWddm(wddm);
|
||||
}
|
||||
MockExecutionEnvironment executionEnvironment;
|
||||
@@ -215,7 +215,7 @@ TEST_F(GlArbSyncEventOsTest, GivenNewGlSyncInfoWhenCreateEventFailsThenSetupArbS
|
||||
|
||||
auto wddm = new WddmMock(*rootDeviceEnvironment.get());
|
||||
auto gdi = new MockGdi();
|
||||
wddm->gdi.reset(gdi);
|
||||
wddm->resetGdi(gdi);
|
||||
auto hwInfo = *platformDevices[0];
|
||||
wddm->init(hwInfo);
|
||||
|
||||
@@ -244,7 +244,7 @@ TEST_F(GlArbSyncEventOsTest, GivenInvalidGlSyncInfoWhenCleanupArbSyncObjectIsCal
|
||||
|
||||
auto wddm = new WddmMock(*rootDeviceEnvironment.get());
|
||||
auto gdi = new MockGdi();
|
||||
wddm->gdi.reset(gdi);
|
||||
wddm->resetGdi(gdi);
|
||||
auto hwInfo = *platformDevices[0];
|
||||
wddm->init(hwInfo);
|
||||
|
||||
@@ -274,7 +274,7 @@ TEST_F(GlArbSyncEventOsTest, GivenValidGlSyncInfoWhenCleanupArbSyncObjectIsCalle
|
||||
|
||||
auto wddm = new WddmMock(*rootDeviceEnvironment.get());
|
||||
auto gdi = new MockGdi();
|
||||
wddm->gdi.reset(gdi);
|
||||
wddm->resetGdi(gdi);
|
||||
auto hwInfo = *platformDevices[0];
|
||||
wddm->init(hwInfo);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user