P4 to Git Change 1319330 by gandryey@gera-w8 on 2016/09/27 11:03:51

SWDEV-86035 - Add PAL backend to OpenCL
	- Use wait() for now to match GSL path.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palmemory.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#25 edit
Этот коммит содержится в:
foreman
2016-09-27 11:15:47 -04:00
родитель fb882c1a5b
Коммит 692f05e628
2 изменённых файлов: 4 добавлений и 3 удалений
+4
Просмотреть файл
@@ -572,6 +572,10 @@ Memory::syncCacheFromHost(VirtualGPU& gpu, device::Memory::SyncFlags syncFlags)
}
}
//!@todo A wait isn't really necessary. However processMemObjects()
// may lose the track of dependencies with a compute transfer(if sdma failed).
wait(gpu);
// Should never fail
assert(result && "Memory synchronization failed!");
}
-3
Просмотреть файл
@@ -3208,9 +3208,6 @@ VirtualGPU::processMemObjectsHSA(
memoryDependency().validate(*this, mem, IsReadOnly);
}
// Mark the tracker with the processed kernel
memoryDependency().newKernel();
return true;
}