[pkg-nvidia-devel] RFC [patch 195xx] [13/k] package libOpenCL.so

Christian Kastner debian at kvr.at
Fri May 14 10:24:07 UTC 2010


On 05/14/2010 11:49 AM, Andreas Beckmann wrote:
> In order to make use of OpenCL we need a "vendor definition":
> 
>     nvidia-opencl-common
> 
> provides /etc/OpenCL/vendors/nvidia.icd, the vendors/ directory is
> scanned by the library for *.icd and the .icd files contains the name of
> a vendor library (libcuda.so in our case) to be dlopened for some OpenCL
> entry point.
> 
> To glue this together I added a virtual package name "opencl-icd" that
> should be available to actually make use of libopencl1. This is provided
> by both
> 
>    nvidia-opencl-icd
>    nvidia-opencl-icd-ia32
> 
> which both depend on nvidia-opencl-common and their corresponding cuda
> library.

That sounds really great!

> A colleague of mine is working in GPGPU things, so he will be my testbed
> for these packages and the upcoming nvidia-cuda-toolkit 3.0

My packages for "pyrit" (ITP #570918) are ready, too. They build a
"regular" package and two add-ons: one for CUDA, and one for OpenCL, so
they should cover quite a bit of your spectrum.

I'll patch the -cuda and -opencl variants to build-depend on your
packages so they can be used for testing. I'm leaving for the weekend
though, which means I can't do this until Monday...

Thanks again for your work on this!

Christian




More information about the Pkg-nvidia-devel mailing list