Enable throttle hints extension.

Change-Id: I996fce8dbc792d77dc85df143ba5c0aa1cad83e5
This commit is contained in:
Zdunowski, Piotr
2018-01-29 11:18:34 +01:00
committed by sys_ocldev
parent eb42a1eba1
commit 1cfe5344fc
24 changed files with 361 additions and 61 deletions

View File

@@ -346,7 +346,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
size_t startOffset = submitCommandStreamFromCsr ? commandStreamStartCSR : commandStreamStartTask;
auto &streamToSubmit = submitCommandStreamFromCsr ? commandStreamCSR : commandStreamTask;
BatchBuffer batchBuffer{streamToSubmit.getGraphicsAllocation(), startOffset, dispatchFlags.requiresCoherency, dispatchFlags.lowPriority, streamToSubmit.getUsed(), &streamToSubmit};
BatchBuffer batchBuffer{streamToSubmit.getGraphicsAllocation(), startOffset, dispatchFlags.requiresCoherency, dispatchFlags.lowPriority, dispatchFlags.throttle, streamToSubmit.getUsed(), &streamToSubmit};
EngineType engineType = device->getEngineType();
if (submitCSR | submitTask) {