From fbf531398a997644ef012ea72efcf56d63da2245 Mon Sep 17 00:00:00 2001 From: German Andryeyev Date: Thu, 17 Feb 2022 14:47:05 -0500 Subject: [PATCH] SWDEV-323364 - Fix a typo Change-Id: I2031296ab9451342d5930b8b2d3d2e6277946647 --- rocclr/device/rocm/rocvirtual.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/device/rocm/rocvirtual.cpp b/rocclr/device/rocm/rocvirtual.cpp index f68bf48f5c..f12e8cb9c1 100644 --- a/rocclr/device/rocm/rocvirtual.cpp +++ b/rocclr/device/rocm/rocvirtual.cpp @@ -2764,7 +2764,7 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes, const } case amd::KernelParameterDescriptor::HiddenPrintfBuffer: { uintptr_t bufferPtr = reinterpret_cast(printfDbg()->dbgBuffer()); - if (printfEnabled && !bufferPtr) { + if (printfEnabled && bufferPtr) { WriteAqlArgAt(hidden_arguments, bufferPtr, it.size_, it.offset_); } break;