mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
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:
committed by
Compute-Runtime-Automation
parent
34ddf678ad
commit
77470acf7a
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user