2
0

P4 to Git Change 1185382 by bdhanase@bala_workpc_ocl on 2015/08/27 17:17:43

EPR #350405 - removed unnecessary error check

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#376 edit


[ROCm/clr commit: 351511336b]
Este cometimento está contido em:
foreman
2015-08-27 17:40:28 -04:00
ascendente aebbe40e65
cometimento fb6eabb3d2
-6
Ver ficheiro
@@ -2605,12 +2605,6 @@ VirtualGPU::submitSignal(amd::SignalCommand & vcmd)
uint64_t surfAddr = gpuMemory->gslResource()->getPhysicalAddress(cs());
uint64_t markerAddr = gpuMemory->gslResource()->getMarkerAddress(cs());
uint64_t markerOffset = markerAddr - surfAddr;
/* @todo this logic doesn't make any sense
if((markerAddr + markerOffset) == 0) {
LogError("submitSignal failed");
vcmd.setStatus(CL_INVALID_OPERATION);
}
*/
cs()->p2pMarkerOp(gpuMemory->gslResource(), vcmd.markerValue(),
markerOffset, false);
}