P4 to Git Change 1584196 by gandryey@gera-w8 on 2018/07/23 18:05:14

SWDEV-79445 - OCL generic changes and code clean-up
	- Reset memory dependency if runtime invalidated L1 for the profiling logic workaround. Profiling can be enabled for wave limiter, which could cause L1 invalidation twice.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.cpp#116 edit


[ROCm/clr commit: c84525aa73]
Este commit está contenido en:
foreman
2018-07-23 18:19:58 -04:00
padre 6a30645259
commit 8fb0d789a9
@@ -2260,6 +2260,8 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes, const
// when the packet can be processed later after this dispatch and including extra time
if (profiling() || state_.profileEnabled_) {
addBarrier();
// Clear memory dependency to avoid the second L1 invalidation
memoryDependency().clear();
}
if (id != gpuEvent.id_) {
LogError("Something is wrong. ID mismatch!\n");