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를 커밋했습니다
1 부모 0f7dcbc8ca
커밋 ae61cd52cb
1 파일이 변경됨
+1 -1
+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);