Jump to content

Talk:Standard Portable Intermediate Representation

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

SPIR vs. SPIR-V

[edit]

There are very fundamental differences between SPIR and SPIR-V. The most important being that SPIR is not a language. As stated on the Khronos website:

SPIR 2.0 is a mapping from the OpenCL C programming language into LLVM IR.

SPIR is not really a Programming Language per-se; it's a series of heuristics and algorithms that produce a language. While SPIR does define a few changes to LLVM, they are quite small.

By contrast, SPIR-V is a complete language, totally separated from both any particular end-point and any particular starting point. I think that this warrants making two different pages for them. Korval (talk) 22:04, 7 March 2015 (UTC)[reply]

Naming

[edit]

SPIR-V has fully replaced the original SPIR AFAICT. I wonder if it would make sense to rename the article to SPIR-V, and mention the original SPIR in the history? Granted, the Khronos logo does just say SPIR still. —ajf (talk) 16:44, 11 January 2020 (UTC)[reply]