mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Align createContext & createDevice DisableGpuTimeout flags.
- Make sure we program the same value for both calls. Change-Id: I11b26fb56e60fff8f379827f6f6424a387b005d3
This commit is contained in:
committed by
sys_ocldev
parent
feb7d00e22
commit
3c230f6302
@@ -696,6 +696,11 @@ D3DKMT_HANDLE Wddm::createContext() {
|
||||
|
||||
CreateContext.EngineAffinity = 0;
|
||||
CreateContext.Flags.NullRendering = (UINT)DebugManager.flags.EnableNullHardware.get();
|
||||
|
||||
if (preemptionMode >= PreemptionMode::MidBatch) {
|
||||
CreateContext.Flags.DisableGpuTimeout = readEnablePreemptionRegKey();
|
||||
}
|
||||
|
||||
CreateContext.PrivateDriverDataSize = sizeof(PrivateData);
|
||||
CreateContext.NodeOrdinal = node;
|
||||
CreateContext.pPrivateDriverData = &PrivateData;
|
||||
|
||||
Reference in New Issue
Block a user