From fd2bcde17e52834851c6ac9ce67df239b4f3b97d Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 3 Mar 2016 14:08:00 -0500 Subject: [PATCH] P4 to Git Change 1243406 by gandryey@gera-rcf-lnx on 2016/03/03 13:52:23 SWDEV-79445 - Add cache flush if memdependency disabled. Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuvirtual.cpp#397 edit --- rocclr/runtime/device/gpu/gpuvirtual.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rocclr/runtime/device/gpu/gpuvirtual.cpp b/rocclr/runtime/device/gpu/gpuvirtual.cpp index 1e9813461d..843c7adf1c 100644 --- a/rocclr/runtime/device/gpu/gpuvirtual.cpp +++ b/rocclr/runtime/device/gpu/gpuvirtual.cpp @@ -57,6 +57,8 @@ VirtualGPU::MemoryDependency::validate( bool flushL1Cache = false; if (maxMemObjectsInQueue_ == 0) { + // Flush cache + gpu.flushCUCaches(); return; }