Khronos Releases SPIR 1.2 For OpenCL
Written by Michael Larabel in Free Software on 21 January 2014 at 09:46 AM EST. 1 Comment
The Khronos Group announced this morning their SPIR 1.2 specification for portable encoding of OpenCL programs with their IR based upon LLVM.

SPIR has been the initiative for binary compatibility among OpenCL device programs by coming up with a generic intermediate representation to be supported by the different OpenCL implementations. Standard Portable Intermediate Representation (SPIR) is based upon the already quite well received LLVM IR.

The SPIR 1.2 specification announced today provides non-source encoding and binary level portability for OpenCL 1.2 programs. Besides the new specification they're putting otu today, the Khronos Group is also publishing code to a modified Clang 3.2 compiler that can generate SPIR from OpenCL C 1.2 programs, a SPIR module written as an LLVM pass, and a header file with all enumerated values of the SPIR 1.2 specification.

More details on the Khronos Group SPIR 1.2 work can be found at Khronos.org.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Free Software News
Popular News
Trending Reviews & Featured Articles