[Pkg-opencl-devel] Alternatives system for libOpenCL?
Simon Richter
sjr at debian.org
Sat Jul 23 04:05:43 UTC 2016
Hi,
On 22.07.2016 23:35, Giuseppe Bilotta wrote:
> To clarify: the Intel OpenCL runtime for Ubuntu replaces the
> libOpenCL.so and libOpenCL.so.1 links installed by e.g.
> ocl-icd-libopencl1 with links to the alternatives system, that point
> at Intel's own libOpenCL.so by default, and require manual
> intervention to go back to using ocl-icd.
Is that Beignet, or another OpenCL library? Beignet certainly supports ICD.
> We could probably use the same alternatives system used by Intel,
> which is a main opencl-
> libOpenCL.so and a slave opencl-libOpenCL.so.1
No, the packages providing libOpenCL.so.1 should conflict with each
other. If someone explicitly wants to install a libOpenCL that is not an
ICD loader, they can do so, but they lose configurability in the
process. The proper interface to switch between implementations is ICD.
Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-opencl-devel/attachments/20160723/f7048fd7/attachment.sig>
More information about the Pkg-opencl-devel
mailing list