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]
This commit is contained in:
@@ -2605,12 +2605,6 @@ VirtualGPU::submitSignal(amd::SignalCommand & vcmd)
|
|||||||
uint64_t surfAddr = gpuMemory->gslResource()->getPhysicalAddress(cs());
|
uint64_t surfAddr = gpuMemory->gslResource()->getPhysicalAddress(cs());
|
||||||
uint64_t markerAddr = gpuMemory->gslResource()->getMarkerAddress(cs());
|
uint64_t markerAddr = gpuMemory->gslResource()->getMarkerAddress(cs());
|
||||||
uint64_t markerOffset = markerAddr - surfAddr;
|
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(),
|
cs()->p2pMarkerOp(gpuMemory->gslResource(), vcmd.markerValue(),
|
||||||
markerOffset, false);
|
markerOffset, false);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user