P4 to Git Change 1495220 by gandryey@gera-w8 on 2017/12/15 15:59:55
SWDEV-79445 - OCL generic changes and code clean-up
- Following CL#1495187. Add a check for profiling enabled with the wavelimiter.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#67 edit
[ROCm/clr commit: ea9b94057a]
This commit is contained in:
@@ -1984,7 +1984,7 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes, const
|
|||||||
iCmd()->CmdDispatchAql(dispatchParam);
|
iCmd()->CmdDispatchAql(dispatchParam);
|
||||||
// Note: This a workaround for incorrect results reported with release_mem packet,
|
// Note: This a workaround for incorrect results reported with release_mem packet,
|
||||||
// when the packet can be processed later after this dispatch and including extra time
|
// when the packet can be processed later after this dispatch and including extra time
|
||||||
if (profiling()) {
|
if (profiling() || state_.profileEnabled_) {
|
||||||
flushCUCaches();
|
flushCUCaches();
|
||||||
}
|
}
|
||||||
eventEnd(MainEngine, gpuEvent);
|
eventEnd(MainEngine, gpuEvent);
|
||||||
|
|||||||
Reference in New Issue
Block a user