fix: l0, tag update on mem copy ext host ptr

Require tag update on mem copy with external host ptr.
Without this, temporary allocation might not be cleaned before next copy
operation.
If a second copy operation is passed same ptr that has been reallocated,
there will be a pagefault.

Related-To: NEO-15663

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2025-08-08 11:39:51 +00:00
committed by Compute-Runtime-Automation
parent 34ddf678ad
commit 77470acf7a
9 changed files with 127 additions and 45 deletions

View File

@@ -1026,6 +1026,12 @@ bool CommandStreamReceiver::checkImplicitFlushForGpuIdle() {
return false;
}
bool CommandStreamReceiver::getAndClearIsWalkerWithProfilingEnqueued() {
bool retVal = this->isWalkerWithProfilingEnqueued;
this->isWalkerWithProfilingEnqueued = false;
return retVal;
}
void CommandStreamReceiver::downloadTagAllocation(TaskCountType taskCountToWait) {
if (this->getTagAllocation()) {
if (taskCountToWait && taskCountToWait <= this->peekLatestFlushedTaskCount()) {