mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Make enqueue blocking if parent kernel requires aux translation
Change-Id: I678e1045d84f15e30223a99438bbb7057e172cff Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
@@ -336,6 +336,9 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
|
||||
slmUsed |= scheduler.slmTotalSize > 0;
|
||||
|
||||
parentKernel->getProgram()->getBlockKernelManager()->makeInternalAllocationsResident(commandStreamReceiver);
|
||||
if (parentKernel->isAuxTranslationRequired()) {
|
||||
blocking = true;
|
||||
}
|
||||
}
|
||||
|
||||
auto submissionRequired = isCommandWithoutKernel(commandType) ? false : true;
|
||||
|
||||
Reference in New Issue
Block a user