OCL-ICD provides a free generic OpenCL implementation, should ubuntu policy be to build applications against this loader vs closed vendor implementation
Applications that wish to use OpenCL encounter a few problems when you attempt to distribute them.
PROBLEM:
Applications compiled against one implementation of OpenCL (libOpenCL.so) will not run on a system with another implementation installed. OpenCL loader library is supposed to be agnostic to the kernel loaded (nvidia libOpenCL.so will run amd kernels for example) but testing has shown significant performance differences when using OpenCL implementations from different vendors. System must have libOpenCL.so used at build time in order to run an application using OpenCL
As the number of OpenCL applications grows there will be packaging conflicts between those built against nvidia/ocl and potentially other vendor OpenCL implementations as they are added to ubuntu.
Solution:
ocl-icd-libopencl1 (http://
Policy for packages to use ocl-icd as the default implementation, allowing the use of other kernel loaders for alternative packages in the same source package(if desired)
Minor Problem:
Ubuntu does not have vendor provided OpenCL kernels for AMD/Intel in the repositories or ones compatible with cpu-only environments (fglrx should provide amd-opencl-icd, but as of trusty this is not true) - https:/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu ocl-icd Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Andrey Shmakov for more information if necessary.