Add throttle hint to unblocked enqueue path

Change-Id: Id24e00f0f797d6245e897ba4e709d42f2ef0f5e8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2018-12-06 11:02:16 +01:00
committed by sys_ocldev
parent 7f7808fb71
commit 481b83b436
2 changed files with 21 additions and 1 deletions

View File

@@ -583,7 +583,8 @@ CompletionStamp CommandQueueHw<GfxFamily>::enqueueNonBlocked(
dispatchFlags.GSBA32BitRequired = commandType == CL_COMMAND_NDRANGE_KERNEL;
dispatchFlags.mediaSamplerRequired = mediaSamplerRequired;
dispatchFlags.requiresCoherency = requiresCoherency;
dispatchFlags.lowPriority = priority == QueuePriority::LOW;
dispatchFlags.lowPriority = (QueuePriority::LOW == priority);
dispatchFlags.throttle = getThrottle();
dispatchFlags.implicitFlush = implicitFlush;
dispatchFlags.flushStampReference = this->flushStamp->getStampReference();
dispatchFlags.preemptionMode = PreemptionHelper::taskPreemptionMode(*device, multiDispatchInfo);