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:
Compute-Runtime-Validation
2024-05-14 19:46:40 +02:00
committed by Compute-Runtime-Automation
parent 6f849fde10
commit 4c43ca518b
3 changed files with 7 additions and 3 deletions

View File

@@ -774,6 +774,10 @@ bool Buffer::isReadWriteOnCpuAllowed(const Device &device) {
return false;
}
if (graphicsAllocation->isAllocatedInLocalMemoryPool()) {
return false;
}
return true;
}