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; }