From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXY0t-0002No-F3 for guix-patches@gnu.org; Mon, 25 Jun 2018 16:23:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXY0s-00021S-Gp for guix-patches@gnu.org; Mon, 25 Jun 2018 16:23:03 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:55629) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXY0s-00020n-DX for guix-patches@gnu.org; Mon, 25 Jun 2018 16:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fXY0s-0006W9-4M for guix-patches@gnu.org; Mon, 25 Jun 2018 16:23:02 -0400 Subject: [bug#31436] [PATCH 0/6] gnu: Add opencl related packages. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: Date: Mon, 25 Jun 2018 22:22:05 +0200 In-Reply-To: (Fis Trivial's message of "Sat, 12 May 2018 19:46:15 +0000") Message-ID: <87o9fyr502.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Fis Trivial Cc: 31436@debbugs.gnu.org Hello Fis! Fis Trivial skribis: > These patches add basic support for opencl. As noted in the new file > opencl.scm, tests can't enabled by now. For the future, maybe we can > patch the build system to make test targets installable so that people > with right tools can help testing. Or maybe there are some other ways > that we can modify the build environment for testing. But that's another > day's problem. :) > > Although testing with packages' unit tests are not enabled. I tried to > test them outside the store by simple hello world program, they works > fine on my hardware. > > To make thing a little comfortable, I packaged clinfo, which is a little > tool for displaying OpenCL platforms and device information by calling > OpenCL host functions. If it works on your device, then at least you can > confirm the corresponding implementation is not completely broken. > > Environment variable `OPENCL_VENDOR_PATH` is used to guide `ocl-icd` > loading needed OpenCL implementation library. You need to source it in > your profile before you try to use any of the implementation. > > I wrapped clinfo, notes are put in the package definition. > > > fis (6): > gnu: Add opencl-headers. > gnu: Add opencl-clhpp. > gnu: Add ocl-icd. > gnu: Add beignet. > gnu: Add clinfo. > gnu: Add pocl. I finally applied the first two patches. Could you remind me what the blocker is for the subsequent patches? I know we discussed it but I couldn=E2=80=99t find the details. Thanks, and sorry for the delay! Ludo=E2=80=99.