GNU bug report logs - #31436
[PATCH 0/6] gnu: Add opencl related packages.

Previous Next

Package: guix-patches;

Reported by: Fis Trivial <ybbs.daans <at> hotmail.com>

Date: Sat, 12 May 2018 19:47:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


Message #29 received at 31436 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Fis Trivial <ybbs.daans <at> hotmail.com>
Cc: 31436 <at> debbugs.gnu.org
Subject: Re: [bug#31436] [PATCH 0/6] gnu: Add opencl related packages.
Date: Mon, 28 May 2018 14:51:39 +0200
Hello,

Fis Trivial <ybbs.daans <at> hotmail.com> skribis:

> I don't think any usable OpenCL implementation in guix can be done in
> recent future. OpenCL is kind of deeply integrated with clang and
> llvm. One of the problem of this integration is that ld is not invoked
> with correct search path. And usually the link procedure is implemented
> by calling llvm APIs since ld doesn't know how to link device binary
> objects. Which means if we want to solve this problem we will have to
> figure out how does llvm do linking and add the corresponding patches to
> make a specialized llvm. If I were to do it, I would rather try to get
> ld and gcc support basic OpenCL linking, the needed effort is not that
> different.

In a similar vein, you might want to check
‘clang-3.5-libc-search-path.patch’.  Maybe it doesn’t help for
pocl/beignet because it’s a patch against Clang, not LLVM.

We’ll need to investigate more precisely how pocl/beignet invoke the
linker, as discussed on help-guix.

Ludo’.




This bug report was last modified 6 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.