mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Drm create context with an implicit virtual memory address space
Related-To: NEO-4821 Change-Id: I18545d976788daacbb195e243f4049b7f83fd3a2
This commit is contained in:
committed by
sys_ocldev
parent
031ee61b5a
commit
3c4c7a0215
@@ -103,7 +103,9 @@ Drm *Drm::create(std::unique_ptr<HwDeviceId> hwDeviceId, RootDeviceEnvironment &
|
||||
}
|
||||
}
|
||||
|
||||
drmObject->createVirtualMemoryAddressSpace(HwHelper::getSubDevicesCount(rootDeviceEnvironment.getHardwareInfo()));
|
||||
if (!drmObject->createVirtualMemoryAddressSpace(HwHelper::getSubDevicesCount(rootDeviceEnvironment.getHardwareInfo()))) {
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr, "%s", "INFO: Device doesn't support GEM Virtual Memory\n");
|
||||
}
|
||||
|
||||
return drmObject.release();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user