Add support of GPU preemption (v1.00).

https://github.com/intel/compute-runtime/pull/119

Change-Id: I3134d62b66751c8621b80002373a7a9b198e044e
This commit is contained in:
Liwei Wang
2019-03-21 22:21:52 -07:00
committed by ocldev
parent 1ce597a5c7
commit ca4b47f7f4
17 changed files with 80 additions and 56 deletions

View File

@@ -640,6 +640,7 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
gtpinNotifyPreFlushTask(this);
}
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stdout, "preemption = %d.\n", static_cast<int>(dispatchFlags.preemptionMode));
CompletionStamp completionStamp = getCommandStreamReceiver().flushTask(
commandStream,
commandStreamStart,