diff --git a/opencl/api/opencl/amdocl/amdocl.def.in b/opencl/api/opencl/amdocl/amdocl.def.in index d44410c802..cc631e3ca2 100644 --- a/opencl/api/opencl/amdocl/amdocl.def.in +++ b/opencl/api/opencl/amdocl/amdocl.def.in @@ -118,6 +118,7 @@ clEnqueueSVMMap clEnqueueSVMUnmap #endif +#if !defined(WITH_LIGHTNING_COMPILER) aclCompilerInit aclCompilerFini aclCompilerVersion @@ -156,6 +157,8 @@ aclDisassemble aclInsertKernelStatistics aclGetDeviceBinary aclDumpBinary +#endif // !defined(WITH_LIGHTNING_COMPILER) + #if (OPENCL_MAJOR > 2) || (OPENCL_MAJOR == 2 && OPENCL_MINOR >= 1) clCreateProgramWithIL #endif