mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 04:23:00 +08:00
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:
committed by
Compute-Runtime-Automation
parent
74fbd32515
commit
a2e0f9ac09
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user