P4 to Git Change 1067510 by skudchad@skudchad_test_win_opencl2 on 2014/08/18 14:36:22
ECR #304775 - Correct a typo where I didnt remove the offset from the condition which made the writeRect take pinning path. ReviewBoardURL = http://ocltc.amd.com/reviews/r/5566/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#330 edit
Este commit está contenido en:
@@ -834,7 +834,7 @@ VirtualGPU::submitWriteMemory(amd::WriteMemoryCommand& vcmd)
|
||||
amd::Coord3D region(0);
|
||||
amd::Coord3D hostOrigin(vcmd.hostRect().start_+ offset);
|
||||
hostbufferRect.create(hostOrigin.c, vcmd.size().c , vcmd.hostRect().rowPitch_, vcmd.hostRect().slicePitch_);
|
||||
if ((hostMemory != NULL) && (offset == 0)) {
|
||||
if (hostMemory != NULL) {
|
||||
result = blitMgr().copyBufferRect(*hostMemory, *memory,
|
||||
hostbufferRect, vcmd.bufRect(), vcmd.size(),
|
||||
vcmd.isEntireMemory());
|
||||
|
||||
Referencia en una nueva incidencia
Block a user