fix: add missing host ptr assignment increment

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2023-05-22 11:07:09 +00:00
committed by Compute-Runtime-Automation
parent 6a3a90a83f
commit 8e51d9ae90
10 changed files with 40 additions and 4 deletions

View File

@@ -335,6 +335,7 @@ void CommandQueueImp::handleIndirectAllocationResidency(UnifiedMemoryControls un
void CommandQueueImp::makeResidentAndMigrate(bool performMigration, const NEO::ResidencyContainer &residencyContainer) {
for (auto alloc : residencyContainer) {
alloc->prepareHostPtrForResidency(csr);
csr->makeResident(*alloc);
if (performMigration &&
(alloc->getAllocationType() == NEO::AllocationType::SVM_GPU ||