Displaying 20 results from an estimated 8000 matches similar to: "[SPIR-V] SPIR-V in LLVM"
2018 Feb 21
6
SPIRV-LLVM as an external tool
Hi,
for a few months already I have been asking around for opinions on how
people could best work together on Khronos' SPIR-V <-> LLVM-IR converter
and some consensus seems to have formed.
Most of the people I talked to favored having the converter become an
external tool within the LLVM project, similar to libclc. I think that
the LLVM project's processes, infrastructure and
2015 May 16
3
[LLVMdev] [RFC] Upstreaming LLVM/SPIR-V converter
2015-05-16 6:42 GMT+01:00 Chris Lattner <clattner at apple.com>:
>
> > On May 15, 2015, at 9:53 AM, Chris Bieneman <beanz at apple.com> wrote:
> >
> > +1 to lib/Target/SPIRV/(Reader|Writer)
> >
> > I really like this idea. I’ve talked with some people on both the LLVM and Khronos sides and I really think adding SPIR-V support to LLVM as an optional
2018 Sep 11
3
[RfC] A proposal of adding SPIR-V Toolchain in Clang
On Mon, 10 Sep 2018 at 18:47, Nicholas Wilson via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I was going to wait until Neil Trevett got back to me about becoming a
> SPIR-V TSG advisor but this seems like just as good an opportunity. Please
> see the previous discussion [1] if you have not already, there were many
> relevant points made.
>
> First, I’d like to note
2018 Sep 10
9
[RfC] A proposal of adding SPIR-V Toolchain in Clang
Hello,
Since 2015 Khronos has switched to the new portable intermediate format SPIR-V, which has replaced the original SPIR. The advantage is that it offers higher portability across different toolchains. There was a talk about it at a Dev Meeting:
http://llvm.org/devmtg/2017-03//2017/02/20/accepted-sessions.html#17
LLVM currently only supports SPIR format for OpenCL in Clang. Several Khronos
2018 Feb 21
0
SPIRV-LLVM as an external tool
I agree that having the conversion live as part of LLVM is the best option going forward.
libclc is an library implementation of the OpenCL builtins and I think its fine for that aspect of the converter,
i.e. consumption of SPIR-V into LLVM IR in preparation for code generation by LLVM by its various backends as a library
to link the generated code to, to live in an external repo.
This is fine
2018 Feb 21
4
SPIRV-LLVM as an external tool
On 2018-02-21 — 14:55, Tom Stellard via llvm-dev wrote:
> On 02/21/2018 12:15 AM, Tomeu Vizoso via llvm-dev wrote:
> > Hi,
> >
> > for a few months already I have been asking around for opinions on how
> > people could best work together on Khronos' SPIR-V <-> LLVM-IR converter
> > and some consensus seems to have formed.
> >
> > Most of the
2018 Sep 12
3
[RfC] A proposal of adding SPIR-V Toolchain in Clang
> On Sep 11, 2018, at 7:39 PM, Tom Stellard via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> On 09/11/2018 12:50 PM, Richard Smith via llvm-dev wrote:
>> On Mon, 10 Sep 2018 at 18:47, Nicholas Wilson via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
>>
>> I was going to wait until Neil Trevett got back to me
2018 Sep 12
3
[RfC] A proposal of adding SPIR-V Toolchain in Clang
On Tue, 11 Sep 2018 at 19:40, Tom Stellard via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On 09/11/2018 12:50 PM, Richard Smith via llvm-dev wrote:
> > On Mon, 10 Sep 2018 at 18:47, Nicholas Wilson via llvm-dev <
> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
> >
> > I was going to wait until Neil Trevett got back to me
2018 Sep 13
2
[RfC] A proposal of adding SPIR-V Toolchain in Clang
On Wed, 12 Sep 2018 at 16:52, Tom Stellard via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On 09/12/2018 02:32 PM, Matthias Braun wrote:
> >
> >
> >> On Sep 11, 2018, at 7:39 PM, Tom Stellard via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
> >>
> >> On 09/11/2018 12:50 PM, Richard Smith via llvm-dev wrote:
> >>> On Mon,
2015 May 15
3
[LLVMdev] [RFC] Upstreaming LLVM/SPIR-V converter
On Fri, May 15, 2015 at 11:50 AM, David Chisnall <
David.Chisnall at cl.cam.ac.uk> wrote:
> On 15 May 2015, at 17:53, Chris Bieneman <beanz at apple.com> wrote:
> >
> > +1 to lib/Target/SPIRV/(Reader|Writer)
> >
> > I really like this idea. I’ve talked with some people on both the LLVM
> and Khronos sides and I really think adding SPIR-V support to LLVM
2017 Jun 21
4
[SPIR-V] SPIR-V in LLVM
On 06/20/2017 05:41 PM, Neil Hickey wrote:
> Hi all, I'd like to kick this discussion off again, and summarise the points that have been expressed so far.
>
> Firstly, as a member of Khronos, I'd like to state that this would be a very interesting development.
>
Hi Neil,
I am very interested in having a good LLVM IR -> SPIR-V solution, and I
think it's great that
2018 Feb 22
0
SPIRV-LLVM as an external tool
> It's important to demonstrate that there is a developer community backing
> the tool and that it won't be abandoned if it is added as an llvm
> sub-project.
>
> -Tom
Just to complete the picture, this is an initiative from within Khronos Group
to unify our effort to make this available as an LLVM component. A number of
companies have been involved in the original
2018 Feb 27
5
SPIRV-LLVM as an external tool
> SPIR-V does not have to be a part of LLVM for you to do this. You can add
> the SPIR-V target to clang and then define a SPIR-V toolchain (i.e. clang/Driver/Toolchains)
> that uses the external tool to translate LLVM IR to SPIR-V.
Ok. I guess if Clang community accepts this way, it would be better to set up the SPIRV converter as a tool of LLVM.
So the question is are there any
2018 Feb 21
2
SPIRV-LLVM as an external tool
On 02/21/2018 10:58 AM, Nicholas Wilson wrote:
> I agree that having the conversion live as part of LLVM is the best option going forward.
>
> libclc is an library implementation of the OpenCL builtins and I think its fine for that aspect of the converter,
> i.e. consumption of SPIR-V into LLVM IR in preparation for code generation by LLVM by its various backends as a library
> to
2017 May 01
2
[SPIR-V] SPIR-V in LLVM
On 1 May 2017, at 11:53 pm, Tom Stellard via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
> First of all you may want to review the thread from a few years ago about putting a SPIR-V target into LLVM:
> http://llvm.1065342.n5.nabble.com/RFC-Proposal-for-Adding-SPIRV-Target-td82552.html
Thanks I will take a look.
> The fact that the SPIR-V
2015 May 17
6
[LLVMdev] [RFC] Upstreaming LLVM/SPIR-V converter
> On May 16, 2015, at 12:21 PM, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> wrote:
>
> I am thinking maybe the functionality of the bi-way conversion can be kept at llvm/lib/Bitcode/SPIRV, which will facilitate OpenCL vendors to do conversions between LLVM and SPIR-V. On the other hand, we create a llvm/Target/SPIR-V, which uses llvm/lib/Bitcode/SPIRV to generate SPIR-V. The SPIR-V
2015 May 13
2
[LLVMdev] [RFC] Upstreaming LLVM/SPIR-V converter
On Wed, May 13, 2015 at 6:11 AM, David Chisnall <David.Chisnall at cl.cam.ac.uk
> wrote:
> On 13 May 2015, at 13:56, Liu, Yaxun (Sam) <Yaxun.Liu at amd.com> wrote:
> >
> > Khronos Group SPIR WG is working on a bi-way converter between LLVM
> bitcode and SPIR-V (
> https://www.khronos.org/registry/spir-v/specs/1.0/SPIRV.pdf ) binary and
> is willing to upstream
2017 Jul 18
3
[SPIR-V] SPIR-V in LLVM
Yet another implementation of the backend, heh.
I’d just started in earnest writing a tablegen based one, with the main goal of fixing the intrinsics to actually be intrinsics.
I think it would be a good idea to join forces with the folk at KhronosGroup and consolidate the work done for inclusion into LLVM.
Nic
> On 17 Jul 2017, at 9:55 pm, Neil Henning via llvm-dev <llvm-dev at
2017 Jun 22
4
[SPIR-V] SPIR-V in LLVM
On 06/21/2017 09:18 AM, Neil Hickey wrote:
> Hi Tom,
>
> I don't disagree, on a technical level, with any of your points. This is, as you have already pointed out, not the first time we have had this discussion and so far, two years after these discussions were first opened we are not any nearer to a solution that makes sense for all stake holders, hence why I think it prudent to
2015 May 15
4
[LLVMdev] [RFC] Upstreaming LLVM/SPIR-V converter
+1 to lib/Target/SPIRV/(Reader|Writer)
I really like this idea. I’ve talked with some people on both the LLVM and Khronos sides and I really think adding SPIR-V support to LLVM as an optional program serialization format would be fantastic. I think it would make it even easier for LLVM-based tools to be integrated into GPU authoring and execution pipelines.
I’m really excited to see this moving