Flush L3 for reduced address space platforms

Change-Id: I5a73e72f8e309137328930920ab174ba6f1378dc
This commit is contained in:
Woloszyn, Wojciech
2018-11-05 05:26:45 -08:00
committed by sys_ocldev
parent 815ae851b7
commit 549b73510c
13 changed files with 116 additions and 19 deletions

View File

@@ -89,7 +89,7 @@ cl_int CommandQueueHw<GfxFamily>::enqueueWriteBuffer(
Surface *surfaces[] = {&bufferSurf, &hostPtrSurf};
if (size != 0) {
bool status = getDevice().getCommandStreamReceiver().createAllocationForHostSurface(hostPtrSurf, getDevice());
bool status = getDevice().getCommandStreamReceiver().createAllocationForHostSurface(hostPtrSurf, getDevice(), false);
if (!status) {
return CL_OUT_OF_RESOURCES;
}