mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Make work partition allocation resident
Related-To: NEO-5546 Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9f3218775d
commit
c361570fab
@@ -506,6 +506,10 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
|
||||
experimentalCmdBuffer->makeResidentAllocations();
|
||||
}
|
||||
|
||||
if (workPartitionAllocation) {
|
||||
makeResident(*workPartitionAllocation);
|
||||
}
|
||||
|
||||
// If the CSR has work in its CS, flush it before the task
|
||||
bool submitTask = commandStreamStartTask != commandStreamTask.getUsed();
|
||||
bool submitCSR = (commandStreamStartCSR != commandStreamCSR.getUsed()) || this->isMultiOsContextCapable();
|
||||
|
||||
Reference in New Issue
Block a user