From c9760c9f3997b56be6f822cefc8215b306f0b14d Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 1 Jun 2017 15:16:52 -0400 Subject: [PATCH] P4 to Git Change 1417118 by gandryey@gera-w8 on 2017/06/01 15:09:16 SWDEV-111607 - [Vega][Redstone] Blender 2.78 Corruption observed on generated image - Add submit() call for CU cache invalidation to make sure the HW operation was counted Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palvirtual.hpp#25 edit --- rocclr/runtime/device/pal/palvirtual.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/rocclr/runtime/device/pal/palvirtual.hpp b/rocclr/runtime/device/pal/palvirtual.hpp index fd5bf01c3f..77f18faf84 100644 --- a/rocclr/runtime/device/pal/palvirtual.hpp +++ b/rocclr/runtime/device/pal/palvirtual.hpp @@ -462,6 +462,7 @@ class VirtualGPU : public device::VirtualDevice { barrier.pTransitions = &trans; barrier.waitPoint = Pal::HwPipePreCs; iCmd()->CmdBarrier(barrier); + queues_[engineID_]->submit(false); } void eventBegin(EngineType engId) const {