diff --git a/opencl/api/opencl/amdocl/cl_device.cpp b/opencl/api/opencl/amdocl/cl_device.cpp index e41211af94..035b59709b 100644 --- a/opencl/api/opencl/amdocl/cl_device.cpp +++ b/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";