From 928d2bcf6605c091cfee8f8706557ad7dfea0629 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 17 May 2017 13:09:07 -0400 Subject: [PATCH] P4 to Git Change 1410684 by gandryey@gera-w8 on 2017/05/17 13:00:21 SWDEV-120180 - [amdgpu-pro] OpenCL support for SSG Fix open source build Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp#19 edit --- opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp b/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp index dc32cf9ac2..9e73eac06f 100644 --- a/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp +++ b/opencl/api/opencl/amdocl/cl_lqdflash_amd.cpp @@ -11,7 +11,8 @@ #include "cl_lqdflash_amd.h" -#if (!defined(BUILD_HSA_TARGET) && defined(WITH_HSA_DEVICE)) || defined(_WIN32) +#if (!defined(BUILD_HSA_TARGET) && defined(WITH_HSA_DEVICE) && \ + defined(WITH_LINUX_PRO)) || defined(_WIN32) #define WITH_LIQUID_FLASH 1 #endif // _WIN32