more virtual packages for providing libcuda.so.1 and libOpenCL.so.1

Andreas Beckmann anbe at debian.org
Thu Sep 19 10:18:23 UTC 2013


[ adding pkg-opencl-devel@ to the loop ]

On 2013-09-17 18:04, Graham Inggs wrote:
> Hi Alberto / Andreas
> 
> On 09/09/2013 14:03, Alberto Milone wrote:
>> On 29/08/13 10:42, Graham Inggs wrote:
>>> One solution is to separate libopencl1 out of the Nvidia and AMD
>>> drivers, however, since the open-source ocl-icd-libopencl1 is able to
>>> load all of the available ICDs, could we simply remove libOpenCL.so from
>>> the Nvidia and AMD drivers and no longer provide libopencl1?
>>> We must keep the Nvidia and AMD ICDs and continue to provide opencl-icd
>>> though.
>>>
>>> Regards
>>> Graham
>> Hi Graham,
>>
>> Before I commit to anything, I'd like to discuss this with NVIDIA.
>>
>> Cheers,
>>
> 
> @Alberto, don't do anything just yet.
> Since nvidia-cuda-toolkit 5.0.35-7 landed in Saucy this weekend and it
> is no longer co-installable with nvidia-319 and nvidia-319-updates.
> 
> @Andreas, I have some questions about some of the changes in -7:
> 
> - ${package:nvidia-libopencl1} | libopencl1,
> + ${package:nvidia-libopencl1},
> 
> Does this mean nvidia-cuda-toolkit can only be used with Nvidia's OpenCL
> loader?

No.
Depends: ..., nvidia-opencl-dev (= 5.0.35-7) | opencl-dev, ...

nvidia-cuda-tookit can be used either with nvidia-opencl-dev (which will
require nvidia-libopencl1) or any other opencl-dev provider

> What happens if someone installs nvidia-cuda-toolkit alongside
> python-pythoncl, won't they end up with a "version OPENCL_1.2 not
> defined in file libOpenCL.so.1 with link time reference" error as in LP:
> #1174205?

To work around that we are currently testing new virtual packages
libopencl-1.X-1 (where I previously hoped they wouldn't be neccessary).

>  package_nvidia-libopencl1 \
> -    = nvidia-libopencl1 \
> +    = nvidia-libopencl1 (>= $${nvidia:MinVersion}) \
>      | nvidia-current
> 
> We recently started providing libopencl1 in the Ubuntu Nvidia drivers,
> but it looks like we should be providing nvidia-libopencl1 instead,
> although that won't satisfy the versioned dependency.

you may have to add libopencl-1.1-1
but to finalize this, we first need to do corresponding changes for ocl-icd.


Andreas



More information about the pkg-nvidia-devel mailing list