[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
** Also affects: viennacl (Ubuntu) Importance: Undecided Status: New ** Changed in: fglrx-driver (Ubuntu) Status: Confirmed = Invalid ** Changed in: nvidia-graphics-drivers (Ubuntu) Status: Confirmed = Invalid ** Changed in: ocl-icd (Ubuntu) Status: Confirmed = Invalid -- 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] 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) . I believe you are correct that this is against policy, the build-depends should be on something similar to: ocl-icd-opencl-dev | opencl-dev The real package should be listed before the alternate virtual package. The alternate virtual package is there for users who wish to build packages locally and want to use an alternate package providing opencl- dev, not ocl-icd-opencl-dev. I don't think this is something that Ubuntu should (or can) nip in the bud. I think bugs should be filed in the Debian BTS against the relevant packages (viennacl, etc.) and discussed in the OpenCL Packager's mailing list [1]. [1] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-opencl-devel -- 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] 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
@Andrey: Which packages are not built against ocl-icd-libopencl1? $ reverse-depends -r trusty ocl-icd-libopencl1 Reverse-Recommends == * bfgminer * wine1.6-amd64 [amd64] * wine1.6-i386 [i386] Reverse-Depends === * clinfo [ppc64el] * erlang-cl [ppc64el] * libhwloc-plugins [ppc64el] * libstarpu-contrib-1.1-4 [amd64 i386] * libvxl1.17 [arm64 ppc64el] * ocl-icd-dbg * ocl-icd-opencl-dev * python-pyopencl [amd64 i386] * python-pyopencl-dbg [amd64 i386] * python3-pyopencl [amd64 i386] * python3-pyopencl-dbg [amd64 i386] * starpu-contrib-examples [amd64 i386] * wine1.6-amd64 [amd64] * wine1.6-i386 [i386] Packages without architectures listed are reverse-dependencies in: amd64, arm64, armhf, i386, powerpc, ppc64el -- 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] 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