fix: Add AUB/TBX writable for clEnqueueWriteBuffer on SVM hostptr

Related-To: NEO-11082

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
Milczarek, Slawomir
2024-04-16 11:26:08 +00:00
committed by Compute-Runtime-Automation
parent 74fbd32515
commit a2e0f9ac09

View File

@@ -43,6 +43,10 @@ cl_int CommandQueueHw<GfxFamily>::enqueueWriteBuffer(
if (retVal != CL_SUCCESS) {
return retVal;
}
if (mapAllocation) {
mapAllocation->setAubWritable(true, GraphicsAllocation::defaultBank);
mapAllocation->setTbxWritable(true, GraphicsAllocation::defaultBank);
}
}
if (isCpuCopyAllowed) {