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]
Этот коммит содержится в:
foreman
2017-12-15 16:04:24 -05:00
родитель 0f7dcbc8ca
Коммит ae61cd52cb
+1 -1
Просмотреть файл
@@ -1984,7 +1984,7 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes, const
iCmd()->CmdDispatchAql(dispatchParam);
// 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
if (profiling()) {
if (profiling() || state_.profileEnabled_) {
flushCUCaches();
}
eventEnd(MainEngine, gpuEvent);