[Ubuntu-x-swat] [Bug 1328542] Re: [xorg-edgers] OCL-ICD provides a free generic OpenCL implementation, should ubuntu policy be to build applications against this loader vs closed vendor implementation
@Graham libviennacl-dev has a build-depends on libopencl1 (virtual) and does not specify a suggested implementation (although this is against policy, so probably can be filed as a bug against that package) . opencl loaders *should* be interchangeable if they follow the traditional virtual package definition, but due to the vendor issue in implementations this is not always the case. Any package that has a build-depends on libopencl1 without specifying ocl-icd-opencl1 as the recommended dependency will depend on whatever buildd decides to pull to satisfy that dependency. I see this becoming an issue in the future. This has been discussed in debian (http://anonscm.debian.org/gitweb/?p=collab-maint/ocl- icd.git;a=blob;f=debian/README.Debian;hb=HEAD) See for instance line #310 Even that debian readme is out of date, I have had trouble exchanging Intel-opencl and ocl-opencl between compile time and runtime. I see this becoming a bigger issue in the future, the consortium members are not doing a good job at maintaining symbol compatibility and are more concerned with vendor specific extensions to OpenCL, I feel that Ubuntu should nip it in the bud as early as possible and require all build- depends and depends to point to ocl-icd and have the virtual-package libopencl1 point only to the open implementation. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/1328542 Title: [xorg-edgers] OCL-ICD provides a free generic OpenCL implementation, should ubuntu policy be to build applications against this loader vs closed vendor implementations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-driver/+bug/1328542/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1328542] [NEW] OCL-ICD provides a free generic OpenCL implementation, should ubuntu policy be to build applications against this loader vs closed vendor implementations
Public bug reported: Relevant Packages: ocl-icd-libopencl1 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://packages.ubuntu.com/trusty/ocl-icd- libopencl1) provides an open source implementation of libOpenCL.so that will work with vendor OpenCL kernels files provided by intel/nvidia/amd. 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) ** Affects: fglrx-driver (Ubuntu) Importance: Undecided Status: New ** Affects: nvidia-graphics-drivers (Ubuntu) Importance: Undecided Status: New ** Affects: ocl-icd (Ubuntu) Importance: Undecided Status: New ** Also affects: fglrx-driver (Ubuntu) Importance: Undecided Status: New ** Also affects: nvidia-graphics-drivers (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/1328542 Title: OCL-ICD provides a free generic OpenCL implementation, should ubuntu policy be to build applications against this loader vs closed vendor implementations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-driver/+bug/1328542/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp
[Ubuntu-x-swat] [Bug 1328542] Re: OCL-ICD provides a free generic OpenCL implementation, should ubuntu policy be to build applications against this loader vs closed vendor implementations
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://packages.debian.org/sid/amd-opencl-icd , can these be pushed in as trusty-updates in order to have a full and complete OpenCL system available through apt, allowing packaged distribution of OpenCL (and in turn other derivative compute libraries like Boost.Compute and ViennaCL) applications through ubuntu that can run on any supported hardware configuration. -- You received this bug notification because you are a member of Ubuntu-X, which is subscribed to nvidia-graphics-drivers in Ubuntu. https://bugs.launchpad.net/bugs/1328542 Title: OCL-ICD provides a free generic OpenCL implementation, should ubuntu policy be to build applications against this loader vs closed vendor implementations To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/fglrx-driver/+bug/1328542/+subscriptions ___ Mailing list: https://launchpad.net/~ubuntu-x-swat Post to : ubuntu-x-swat@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntu-x-swat More help : https://help.launchpad.net/ListHelp