SWDEV-179105 - Stream Operations: Add support for Wait and Write

Change-Id: Ibffa1d6d573826b64763da280074a77271d66808


[ROCm/clr commit: 0a5f9a3b10]
This commit is contained in:
Ravi C Akkenapally
2021-02-08 21:51:18 -08:00
parent 4583cbafee
commit 6629930067
17 changed files with 245 additions and 27 deletions
+2 -2
View File
@@ -553,8 +553,8 @@ bool HostBlitManager::copyImage(device::Memory& srcMemory, device::Memory& dstMe
}
bool HostBlitManager::fillBuffer(device::Memory& memory, const void* pattern, size_t patternSize,
const amd::Coord3D& origin, const amd::Coord3D& size,
bool entire) const {
const amd::Coord3D& origin, const amd::Coord3D& size, bool entire,
bool forceBlit) const {
// Map memory
void* fillMem = memory.cpuMap(vDev_, (entire) ? Memory::CpuWriteOnly : 0);
if (fillMem == NULL) {