From 16f6cf55e984e0766a024bfa04dc600f943eeb77 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 2 May 2018 22:25:53 -0400 Subject: [PATCH] P4 to Git Change 1549067 by skudchad@skudchad_rocm on 2018/05/02 17:40:37 SWDEV-145570 - [HIP] - Fix build Affected files ... ... //depot/stg/opencl/drivers/opencl/api/hip/hip_memory.cpp#19 edit --- hipamd/api/hip/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hipamd/api/hip/hip_memory.cpp b/hipamd/api/hip/hip_memory.cpp index 45435d2e3f..52a6c7be2c 100644 --- a/hipamd/api/hip/hip_memory.cpp +++ b/hipamd/api/hip/hip_memory.cpp @@ -1004,7 +1004,7 @@ hipError_t hipMemset2DAsync(void* dst, size_t pitch, int value, size_t width, size_t height, hipStream_t stream) { HIP_INIT_API(dst, pitch, value, width, height, stream); - amd::HostQueue* queue == nullptr; + amd::HostQueue* queue = nullptr; if (stream == nullptr) { queue = hip::getNullStream(); if (queue == nullptr) {