[Beignet] [PATCH 0/2] support ICD by default

Zhigang Gong zhigang.gong at linux.intel.com
Wed Jan 8 18:45:01 PST 2014


On Wed, Jan 08, 2014 at 01:32:04PM +0000, Steven Newbury wrote:
> 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. 

You are right. I just sent the version 2, please review and test it at your
system. The version 2 will not install the icd vendor file by default.

Thanks,
Zhigang Gong.
> 
> 
> _______________________________________________
> Beignet mailing list
> Beignet at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list