Do not pass bound BOs to exec

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk 2021-05-14 11:27:32 +00:00 committed by Compute-Runtime-Automation
parent df1162ff4d
commit e1f3b39c97
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ MemoryOperationsStatus DrmMemoryOperationsHandlerBind::isResident(Device *device
void DrmMemoryOperationsHandlerBind::mergeWithResidencyContainer(OsContext *osContext, ResidencyContainer &residencyContainer) {
this->makeResidentWithinOsContext(osContext, ArrayRef<GraphicsAllocation *>(residencyContainer), true);
auto clearContainer = false;
auto clearContainer = true;
if (DebugManager.flags.PassBoundBOToExec.get() != -1) {
clearContainer = !DebugManager.flags.PassBoundBOToExec.get();