From eb8ca9fa02f07697bee9524afc9b9dbc92cc2119 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 7 Nov 2017 14:54:17 -0500
Subject: [PATCH] P4 to Git Change 1479692 by lmoriche@lmoriche_opencl_dev2 on
2017/11/07 14:31:55
SWDEV-118564 - [OCL-LC-ROCm] Don't report the SPIR extension on OpenCL/LC
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#36 edit
[ROCm/clr commit: c1ee2295e37fbbc14e18f90eb0626831fd2e46f8]
---
projects/clr/rocclr/runtime/device/pal/palsettings.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/projects/clr/rocclr/runtime/device/pal/palsettings.cpp b/projects/clr/rocclr/runtime/device/pal/palsettings.cpp
index c340a3d4a7..526721a806 100644
--- a/projects/clr/rocclr/runtime/device/pal/palsettings.cpp
+++ b/projects/clr/rocclr/runtime/device/pal/palsettings.cpp
@@ -322,7 +322,9 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
#endif // !defined(WITH_LIGHTNING_COMPILER)
// Enable some platform extensions
enableExtension(ClAmdDeviceAttributeQuery);
+#if !defined(WITH_LIGHTNING_COMPILER)
enableExtension(ClKhrSpir);
+#endif // !defined(WITH_LIGHTNING_COMPILER)
enableExtension(ClAMDLiquidFlash);
hwLDSSize_ = 32 * Ki;