On Wed, 2014-01-08 at 19:31 +0800, Zhigang Gong wrote:
> This patchset is to support ICD by default. Then the developer could use 
> beignet
> easier when the developer want to start with beignet source code directly.
> 
> So we made two changes, the first is to back port the ICD support to the 1.1 
> branch.
> The second is to change the build script to generate proper ICD vendor file 
> and install
> the library/vendor file to correct directory. To make things simpler, this 
> patch
> change the libgbe to a static library and don't install it to the system.
> 
> Now the user just need to install the following two packages:
> ocl-icd-dev, ocl-icd-libopencl1.
> Then download beignet source code tree, and build/install beignet. Then user 
> could
> use beignet library through the standard ICD interface libOpenCL.so.
> 
Please don't make ICD support compulsory.  Not all distributions provide
ocl-icd, for example Gentoo provides multiple ocl selection though
eselect (only one at a time can be active).  To this end I patch beignet
and build it alongside Mesa to produce a versioned libOpenCL in my Mesa
ebuild. 


_______________________________________________
Beignet mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to