@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

Reply via email to