Dnia 2014-04-21, pon o godzinie 10:24 +0100, Russel Winder pisze:
> Rebecca,
> 
> Thanks for this, most helpful.
> 
> On Sat, 2014-04-19 at 20:34 +0100, Rebecca N. Palmer wrote:
> > nvidia-libopencl1 is OpenCL 1.1, not 1.2, and pyopencl hence doesn't 
> > work with it: 
> > https://bugs.launchpad.net/ubuntu/+source/pyopencl/+bug/1174205
> 
> OK, I purged this package and various others went with it. (But some
> came backā€¦)
> 
> > You can still use pyopencl with Nvidia hardware, as the 
> > hardware-specific part is opencl-icd not libopencl1.  The choices for 
> > this are:
> > nvidia-opencl-icd (Nvidia GPUs)
> > mesa-opencl-icd (Radeon GPUs; plans to support more in the future)
> > amd-opencl-icd (Radeon GPUs, and CPUs)
> > amd-opencl-icd-legacy (older Radeon GPUs)
> > beignet (Intel GPUs)
> > 
> > At present it is necessary to choose the correct opencl-icd manually, as 
> > the package management system doesn't know what GPU you have, and 
> > installing them all doesn't work as beignet crashes if its hardware is 
> > not present.
> 
> If I try to install python3-pyopencl Aptitude tries to install the AMD
> package. But as you hint, by installing the  nvidia-opencl-icd package
> manually first it pulls in various NVIDIA bits that were purged a few
> moments earlier, but then allows python3-pyopencl to install fine.

nvidia-opencl-icd depends on other NVIDIA-related libraries,
e.g. for compiling OpenCL code. 


-- 
Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860
http://member.acm.org/~tomaszrybak

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to