Using alternatives instead of a conflict for libopencl1?

Vincent Danjean vdanjean at debian.org
Thu Apr 25 19:54:07 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Le 25/04/2013 20:49, Tomasz Rybak a écrit :
> From my point of view ICD would be preferred. I wanted to test beignet with PyOpenCL;  I've installed it on amd64 AMD Phenom and added file to /etc/OpenCL/vendors pointing it to libocl.so.0. When I run clinfo to see what is available, I got "Invalid instruction" signal and core dump. Should I file the bug? Can beignet run on non-Intel CPU?

For me, this seems a beignet bug: the ICD should report no plateform
if no useful harware is found. It should not crash.

That said, I've several remarks:
* ocl-icd-libopencl1 has some bugs in the 1.3-3 version when
  detecting platforms with ICDs that reports no plateform
  => if you are using ocl-icd-libopencl1 as ICD loader, try
  2.0.2-1 version from experimental
* I suppose that this is beignet that provides libocl.so.0 and
  that this is the presence of this library that trigger the bug
* if beignet installs libocl.so.0, I think that beignet developers
  should choose another name for there ICD shared library. ocl is
  way too generic for an OpenCL library...

  Regards,
    Vincent

> If not, as Debian does not allow to depend on particular hardware (e.g. "Depends: Intel") I guess there would be need to put some README.Debian or maybe debconf with warning about it.
> 
> Best regards.
> 


- -- 
Vincent Danjean          Adresse: Laboratoire LIG - Bât. INRIA Rhône-Alpes
Téléphone:  +33 4 76 61 55 10            655 avenue de l'Europe
Fax:        +33 4 76 61 52 52            Montbonnot Saint Martin
Email: Vincent.Danjean at imag.fr           38334 Saint-Ismier cedex
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIVAwUBUXmJ3NT1zgD6DpudAQgO8RAAkGkzEGLvQ7pE5c7zmka4tGysMnVC9TKj
oGqCRgzTOb749ny6cCu+95fybeHz1oki33pP1fcxvVLKf2US/pLu3KXY4vHNZqoz
5M6/VPAa/r1RdKifYIamr19J8/dFp0WPMh4MQ8hDy/0TszmrGlLzHrbPHUTQf+Zx
Lxw6mkvWzkaHvVfBFKGJtJwgGC1qVrl90GynIlAjNKFmW8jBQEf1rHGcyCoivVaq
u8qgAmvakGI6fOO40VAW4DCDuvoGu4nbNCY1jgm/0BSLaR3DTiU38qgf/Tj0dFeo
iVIVMshROV4YcjepEoG/zDSFr0vw7O4rfZXsxnqGJmUK1dDzhhCkNrcbFmDwzDZB
0qywfczm3GNJG9u15K6pMfXcHwinBsxyaiqX94bQpRW5zLObJnb1GAU3tc98pEoB
XyqaBkD997xQ2xEdIs1W1mdLLDhCOLIWsL+fy7v+fSB+dApEgpgAzlPEALLLwPW/
oCVzM6hviF9oE7CG3lrIRojI8dw3s/myB1h+b1ce6dwQ3Zp4I0pmEPpsayX+oLaZ
dHE8G/rvaaxY21HDp3/di3VPL4ITwULae0kTmfQO53bkcbguisMrmCSpT6QEAEJ0
artG4fkM+9SyAXSelH5+TfPZq5AmpqaSqExkjNoodqOCTbWkFAqYiz5RCiVdV6k+
VNDXkZuIe2c=
=d9xK
-----END PGP SIGNATURE-----



More information about the pkg-nvidia-devel mailing list