mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Load GDI once
Resolves: NEO-4174 Change-Id: I465d6137deb1dac1146a5b28ff1c100823a1d6b6 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
03ce6681a0
commit
13e053f538
@ -21,7 +21,7 @@ using namespace NEO;
|
||||
TEST(wddmCreateTests, givenInputVersionWhenCreatingThenCreateRequestedObject) {
|
||||
MockExecutionEnvironment executionEnvironment;
|
||||
RootDeviceEnvironment rootDeviceEnvironment(executionEnvironment);
|
||||
auto hwDeviceIds = OSInterface::discoverDevices();
|
||||
auto hwDeviceIds = OSInterface::discoverDevices(executionEnvironment);
|
||||
std::unique_ptr<Wddm> wddm(Wddm::createWddm(std::move(hwDeviceIds[0]), rootDeviceEnvironment));
|
||||
EXPECT_EQ(typeid(*wddm.get()), typeid(Wddm));
|
||||
}
|
||||
|
Reference in New Issue
Block a user