mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Revert "fix: remove not needed check in OCL CPU copy path"
This reverts commit 92f9c8be96.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
6f849fde10
commit
4c43ca518b
@@ -774,6 +774,10 @@ bool Buffer::isReadWriteOnCpuAllowed(const Device &device) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (graphicsAllocation->isAllocatedInLocalMemoryPool()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user