From 64f28e7ca9299ea2c39438f3754dab61649642ed Mon Sep 17 00:00:00 2001
From: foreman
Date: Thu, 10 May 2018 11:06:28 -0400
Subject: [PATCH] P4 to Git Change 1553088 by gandryey@gera-w8 on 2018/05/10
10:58:01
SWDEV-79445 - OCL generic changes and code clean-up
- define WITH_LIQUID_FLASH. Currently it's not a part of makefile setup
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/platform/context.cpp#51 edit
[ROCm/clr commit: abce67d1d382ebc129d6c47603c46bd9839de513]
---
projects/clr/rocclr/runtime/platform/context.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/projects/clr/rocclr/runtime/platform/context.cpp b/projects/clr/rocclr/runtime/platform/context.cpp
index 17b106e95b..661558db61 100644
--- a/projects/clr/rocclr/runtime/platform/context.cpp
+++ b/projects/clr/rocclr/runtime/platform/context.cpp
@@ -18,6 +18,11 @@
#include "CL/cl_dx9_media_sharing.h"
#endif //_WIN32
+#if (!defined(BUILD_HSA_TARGET) && defined(WITH_HSA_DEVICE) && \
+ defined(WITH_AMDGPU_PRO)) || defined(_WIN32) || defined(WITH_PAL_DEVICE)
+#define WITH_LIQUID_FLASH 1
+#endif
+
#ifdef WITH_LIQUID_FLASH
#include "lf.h"
#endif