Hi, On 16.04.2013 09:50, Zhigang Gong wrote: > [Gong, Zhigang] As I know, Simon implemented ICD for Beignet and it may need > some time to rebase to the latest beignet code base. > If you are interested, this is the link http://psi5.com/~geier/beignet.git. I've rebased on top of the release 0.1 tag, and updated accordingly. These changes have not yet been widely tested and should be subject to extensive debate. I've uploaded a build of the package to Debian experimental to allow for some testing by brave adventurers. Note that these packages do not support OpenGL sharing as Debian has an old version of Mesa. Changes: commit 13c650fb4492b7c96b1a1dfb31cf048da3de9729 Author: Simon Richter <Simon.Richter at hogyros.de> Date: Tue Apr 2 15:01:52 2013 +0200 Use "clang" command from PATH This assumes that LLVM is installed in the system path, but avoids compiling the path of binaries into the library. commit 8d468fcc820330c872441f552cf0edcc73e10341 Author: Simon Richter <Simon.Richter at hogyros.de> Date: Tue Apr 16 20:04:42 2013 +0200 Make EGL optional This fixes builds if EGL is unavailable. The OpenGL sharing extension will be disabled then. commit bb03533ee094f4b0a9e0a5f17fe20388e960c7d3 Author: Simon Richter <Simon.Richter at hogyros.de> Date: Tue Apr 16 20:02:08 2013 +0200 Prefer versioned llvm-config If multiple versions are installed, prefer version 3.2 before falling back to the default version. commit 122229cee97add90abcd7e3410b7b8d748c4e99e Author: Simon Richter <Simon.Richter at hogyros.de> Date: Fri Apr 12 11:21:19 2013 +0200 Accept glibc's implementation of memalign() If the platform is not Linux, but glibc based, we assume that the memalign() function is working satisfactorily. commit dceb446181a23209888595d13b0382e49b1a43bc Author: Simon Richter <Simon.Richter at hogyros.de> Date: Wed Apr 3 20:32:45 2013 +0200 Implement KHR ICD extension This adds a pointer to the dispatch table at the beginning of every object of type - cl_command_queue - cl_context - cl_device_id - cl_event - cl_kernel - cl_mem - cl_platform_id - cl_program - cl_sampler as required by the ICD specification. The layout of the dispatch table comes from the OpenCL ICD loader by Brice Videau <brice.videau at imag.fr> and Vincent Danjean <Vincent.Danjean at ens-lyon.org>. To avoid dispatch table entries being overwritten with the ICD loader's implementations of the CL functions (as would be the proper behaviour for the ELF loader), the -Bsymbolic option is given to the linker. commit 2756d1a9a2446faad1bacd203c234ce81581179b Author: Simon Richter <Simon.Richter at hogyros.de> Date: Tue Apr 2 15:11:01 2013 +0200 "Implement" clGetExtensionFunctionAddress() This function should not fail if a function entry point cannot be found -- instead we return NULL. commit 4fe13e919524378b799205e71aa2c35f7049bbf9 Author: Simon Richter <Simon.Richter at hogyros.de> Date: Tue Apr 16 20:05:54 2013 +0200 Avoid extension names as preprocessor tokens The Khronos Group headers define constants with the names of extensions if the header defines the extension API. When the preprocessor sees one of these names, it performs macro substitution, leading to compilation errors. commit 644432d586d47ddcdbc9e9e91732a715a73884c2 Author: Simon Richter <Simon.Richter at hogyros.de> Date: Tue Apr 2 14:51:52 2013 +0200 Fix typo in cl_get_platform_info function name Simon -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 380 bytes Desc: OpenPGP digital signature URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20130416/485344cd/attachment.pgp>