From 5cf7b6d7177a51eed905a3c626e3af42202c5e41 Mon Sep 17 00:00:00 2001 From: foreman Date: Thu, 7 Sep 2017 13:31:41 -0400 Subject: [PATCH] P4 to Git Change 1456263 by lmoriche@lmoriche_opencl_dev2 on 2017/09/07 13:20:35 SWDEV-94644 - Don't report cl_amd_offline_devices with the Lightning Compiler stack. Affected files ... ... //depot/stg/opencl/drivers/opencl/api/opencl/amdocl/cl_device.cpp#63 edit [ROCm/clr commit: 6b305247fc87f068ad3d8ff8f2a639245f480964] --- projects/clr/opencl/api/opencl/amdocl/cl_device.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projects/clr/opencl/api/opencl/amdocl/cl_device.cpp b/projects/clr/opencl/api/opencl/amdocl/cl_device.cpp index e41211af94..035b59709b 100644 --- a/projects/clr/opencl/api/opencl/amdocl/cl_device.cpp +++ b/projects/clr/opencl/api/opencl/amdocl/cl_device.cpp @@ -116,7 +116,11 @@ RUNTIME_ENTRY(cl_int, clGetPlatformInfo, "cl_khr_d3d11_sharing " "cl_khr_dx9_media_sharing " #endif //_WIN32 - "cl_amd_event_callback cl_amd_offline_devices "; + "cl_amd_event_callback " +#if !defined(WITH_LIGHTNING_COMPILER) + "cl_amd_offline_devices " +#endif // defined(WITH_LIGHTNING_COMPILER) + ; break; case CL_PLATFORM_ICD_SUFFIX_KHR: value = "AMD";