SWDEV-331355 - Fixing the surface object on fillMemory function call.

Change-Id: Ieaa359ea8f31b0251d54b720469cdefde202579f


[ROCm/clr commit: 643ee46f28]
Este commit está contenido en:
kjayapra-amd
2022-04-28 12:38:04 -07:00
cometido por Karthik Jayaprakash
padre 6a225063d4
commit ae0b32126b
+2 -1
Ver fichero
@@ -2442,7 +2442,8 @@ void VirtualGPU::submitSvmFillMemory(amd::SvmFillMemoryCommand& cmd) {
assert((dstMemory->validateRegion(origin, size)) && "The incorrect fill size!");
if (!fillMemory(cmd.type(), dstMemory, cmd.pattern(), cmd.patternSize(), origin, size, true)) {
if (!fillMemory(cmd.type(), dstMemory, cmd.pattern(), cmd.patternSize(), size, origin, size,
true)) {
cmd.setStatus(CL_INVALID_OPERATION);
}
} else {