Summary: | eselect-opencl new package request | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nikolay Antonov <ostinru> |
Component: | New packages | Assignee: | Kacper Kowalik (Xarthisius) (RETIRED) <xarthisius> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | ahbritto, ansla80, enrico.tagliavini, fcoiffie, sattva, spock, trogdog, x11 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 391131, 395521 |
Description
Nikolay Antonov
2011-06-24 14:51:20 UTC
I've began working on this. See https://forums.gentoo.org/viewtopic-p-6772852.html As the comantainer of ati-drivers i'm also interested in this package. Now ati-drivers provides OpenCL libraries and libOpenCL.so can of course conflict with the one from nvidia-drivers (hint: sabayon install both by default). From ati-drivers-11.11 opencl libraries are installed only if built with opencl USE flag Considering interested parties, can't we merge this with eselect-opengl? See https://bugs.gentoo.org/show_bug.cgi?id=396033 . Basically all OpenCL implementations can coexist and be available without eselect with icd interface. (In reply to comment #4) > See https://bugs.gentoo.org/show_bug.cgi?id=396033 . > > Basically all OpenCL implementations can coexist and be available without > eselect with icd interface. freeocl doesn't sound as a solution to me. It is "an implementation of the Open Computing Language 1.1 specifications targeting CPUs" so it is not designed as a wrapper. About ICDs you are right, but the libOpenCL.so file collision between different vendors is always there, but eselecting it is dead easy if all libs are in the same place. As far as I know any libOpenCL.so* is functionally exactly the same icd wrapper and there is no reason to install more than one. If freeocl lib itself is about 1MB (+cmake +openmp). We can remove everything that's not libOpencl.so* or include/CL and call it libicd oslt. Being opensource it's easy to fix, whenever there is a problem. This can be discussed with upstream, if the icd solution is considered as a viable option to eselect-opencl. Though there are mostly no downsides to eselect-opencl either. (In reply to comment #6) > As far as I know any libOpenCL.so* is functionally exactly the same icd wrapper > and there is no reason to install more than one. > > If freeocl lib itself is about 1MB (+cmake +openmp). We can remove everything > that's not libOpencl.so* or include/CL and call it libicd oslt. Being > opensource it's easy to fix, whenever there is a problem. This can be discussed > with upstream, if the icd solution is considered as a viable option to > eselect-opencl. It's quite the opposite. Freeocl is yet another provider of libOpenCL.so + CL/headers that carelessly installs itself into /usr creating conflicts and thus PITA for package maintainers. Eselect will allow to sort this mess out. Being able to chose implementation is just a fancy by-product, as you've already mentioned it doesn't really matter which libOpenCL you use. > Though there are mostly no downsides to eselect-opencl either. *eselect-opencl-1.1.0 (21 Jan 2012) 21 Jan 2012; Kacper Kowalik <xarthisius@gentoo.org> +eselect-opencl-1.1.0.ebuild, +metadata.xml: Initial import |