From 7b03ff80d4e95a0789452cd58fdea8636f0c5caa 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 [ROCm/hip commit: a10512c51028d9392ba899c83093b6d326ce5d35] --- projects/hip/api/hip/hip_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/api/hip/hip_memory.cpp b/projects/hip/api/hip/hip_memory.cpp index 45435d2e3f..52a6c7be2c 100644 --- a/projects/hip/api/hip/hip_memory.cpp +++ b/projects/hip/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) {