WSL fallback to staging buffer on blocking reads

Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
This commit is contained in:
Kamil Diedrich
2021-10-21 01:29:53 +02:00
committed by Compute-Runtime-Automation
parent 32592d953b
commit 5fdcb14d57
14 changed files with 220 additions and 17 deletions

View File

@@ -78,6 +78,10 @@ class HostPtrSurface : public Surface {
return isL3Capable(*gfxAllocation);
}
void setIsPtrCopyAllowed(bool allowed) {
this->isPtrCopyAllowed = allowed;
}
protected:
const void *memoryPointer;
size_t surfaceSize;