>@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 Desktop
Packages, 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

Status in “fglrx-driver” package in Ubuntu:
  Confirmed
Status in “nvidia-graphics-drivers” package in Ubuntu:
  Confirmed
Status in “ocl-icd” package in Ubuntu:
  Confirmed

Bug description:
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/fglrx-driver/+bug/1328542/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to