From e82d2948f5af1ced50c59aebb86d66b0fb3c71ae Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 23 Nov 2016 16:02:51 -0500 Subject: [PATCH] P4 to Git Change 1345359 by lmoriche@lmoriche_opencl_dev on 2016/11/23 15:52:29 SWDEV-94610 - Initialize printfdbg_ to null in VirtualDevice::VirtualDevice Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocvirtual.cpp#19 edit --- rocclr/runtime/device/rocm/rocvirtual.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rocclr/runtime/device/rocm/rocvirtual.cpp b/rocclr/runtime/device/rocm/rocvirtual.cpp index 61e5c077dc..77792eb789 100644 --- a/rocclr/runtime/device/rocm/rocvirtual.cpp +++ b/rocclr/runtime/device/rocm/rocvirtual.cpp @@ -453,6 +453,8 @@ VirtualGPU::VirtualGPU(Device &device) , index_(device.numOfVgpus_++) // Virtual gpu unique index incrementing { gpu_device_ = device.getBackendDevice(); + printfdbg_ = NULL; + // Initialize the last signal and dispatch flags timestamp_ = NULL; hasPendingDispatch_ = false;