mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
[17/n] Internal 4GB allocator.
- Make sure that blocks ISA is made resident - both blocked & non blocked path - fix a bug where private surface was not made resident in blocked path. Change-Id: Ie564595b176b94ecc7c79d7efeae20598c5874fb
This commit is contained in:
committed by
sys_ocldev
parent
51fdd2a18f
commit
09923fcb39
@@ -306,14 +306,7 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
|
||||
// Update SLM usage
|
||||
slmUsed |= scheduler.slmTotalSize > 0;
|
||||
|
||||
size_t count = parentKernel->getProgram()->getBlockKernelManager()->getCount();
|
||||
|
||||
for (uint32_t surfaceIndex = 0; surfaceIndex < count; surfaceIndex++) {
|
||||
auto surface = parentKernel->getProgram()->getBlockKernelManager()->getPrivateSurface(surfaceIndex);
|
||||
if (surface) {
|
||||
commandStreamReceiver.makeResident(*surface);
|
||||
}
|
||||
}
|
||||
parentKernel->getProgram()->getBlockKernelManager()->makeInternalAllocationsResident(commandStreamReceiver);
|
||||
}
|
||||
|
||||
auto submissionRequired = isCommandWithoutKernel(commandType) ? false : true;
|
||||
|
||||
Reference in New Issue
Block a user