Click here to close now.


News Feed Item

Khronos Releases SPIR 1.2 Specification for Portable Encoding of OpenCL Device Programs

The Khronos™ Group today announced the ratification and public release of the SPIR™ 1.2 specification that provides a non-source encoding, and binary level portability, for OpenCL™ 1.2 device programs. SPIR (Standard Portable Intermediate Representation) is the industry's first open, cross-platform Intermediate Representation standard for portable heterogeneous parallel computing and is based on LLVM IR. SPIR enables developers to avoid exposing sensitive kernel source and enables a diversity of language front-ends to easily target OpenCL platforms and devices in addition to OpenCL C. The SPIR specification and registry can be found at

Before the development of SPIR, new tools and languages for accessing parallel acceleration on heterogeneous systems required specific and detailed knowledge to create compiler back-ends for each vendor's unique hardware architecture. The SPIR standard enables vendors to accept and accelerate SPIR binaries on their hardware, freeing higher-level languages to innovate across a diverse range of platforms including discrete accelerator boards, system on chips, graphics processors and FPGAs.

SPIR enables a rich ecosystem of compiler middleware for portable parallel programs by building on the strengths of LLVM and OpenCL. SPIR is a specialization of LLVM 3.2 IR, but also encodes OpenCL-specific semantics. The cl_khr_spir standard extension to OpenCL 1.2 and 2.0 defines how to load a SPIR instance into an OpenCL runtime. The development of SPIR has been validated on multiple vendor implementations of OpenCL, and has benefited from a thorough open consultation process between Khronos and the LLVM and Clang communities.

In addition to the SPIR specification, Khronos is making the following open source software components available on Github under the same license as LLVM and Clang:

  • a modified Clang 3.2 which generates SPIR from device programs in OpenCL C version 1.2;
  • a SPIR module verifier, written in the form of an LLVM pass;
  • a header file containing definitions for all enumerated values in the SPIR 1.2 specification.

Further details on these resources can be found at:

With the release of SPIR 1.2 and associated software tools, the Khronos Group welcomes developers of diverse computing and graphics stacks to leverage SPIR for cross vendor portability and to drive innovation on the following fronts:

  • Front-ends: new language front-ends and programming abstractions for heterogeneous parallel programming can target production quality OpenCL backends through SPIR;
  • Back-ends: new target platforms based on multicore, vector, VLIW or other technologies can reuse production quality language frontends and abstractions;
  • Tooling: advanced program analysis and optimization of programs in SPIR form.

For example, the developers of both OpenACC and C++ AMP have stated that they will target SPIR to access optimized back-ends across multiple vendors.

Industry Support

“AMD is very excited to see the Khronos Group finalize its SPIR 1.2 specification to build on the industry momentum driving heterogeneous computing, and we expect SPIR 1.2 to help enable a broad set of programming languages that take advantage of the immense computing capabilities of graphics hardware,” said Gregory Stoner, senior director, HSA Application Engineering, AMD, and Managing Director of the HSA Foundation. “SPIR 1.2 addresses several new features requested by our developers, including the ability to ship OpenCL kernels in a binary representation.”

“I expect SPIR to open up many new areas of research in heterogeneous parallel systems,” said Simon McIntosh-Smith, Head of the Microelectronics Research Group at the University of Bristol. “A portable intermediate representation such as this will enable the development of exciting new software tools and parallel languages, and will thus accelerate the adoption of next generation parallel architectures.”

“SPIR will be a key enabler for innovation in heterogeneous computing. Before SPIR, producing a new tool or language for accelerating on today's spectacularly powerful and efficient heterogeneous systems would require in-depth knowledge and access to each different hardware vendor's architecture,” said Andrew Richards, CEO of Codeplay. “Now, with SPIR as an open, cross-platform standard, we can innovate across a whole range of hardware architectures. This heralds in a new era of heterogeneous computing and I commend the excellent work by the group putting this cross-vendor standard together.”

“We are excited to see SPIR publicly released and believe it will greatly help OpenCL adoption by making application deployment more convenient and portable across hardware platforms,” said Jonathan Khazam, vice president and general manager of Intel's Visual & Parallel Computing Group. “SPIR and OpenCL are a great way to take advantage of GPU computing to deliver new experiences on a wide range of computing devices, from phones and tablets to PCs.”

About The Khronos Group

The Khronos Group is an industry consortium creating open standards to enable the authoring and acceleration of parallel computing, graphics, vision, sensor processing and dynamic media on a wide variety of platforms and devices. Khronos standards include OpenGL®, OpenGL® ES, WebGL™, OpenCL™, WebCL™, OpenVX™, OpenMAX™, OpenVG™, OpenSL ES™, StreamInput™ and COLLADA™. All Khronos members are enabled to contribute to the development of Khronos specifications, are empowered to vote at various stages before public deployment, and are able to accelerate the delivery of their cutting-edge media platforms and applications through early access to specification drafts and conformance tests. More information is available at

Khronos, DevU, StreamInput, WebGL, WebCL, COLLADA, OpenKODE, OpenVG, OpenVX, OpenSL ES, OpenMAX, glTF and SPIR are trademarks of the Khronos Group Inc. ASTC is a trademark of ARM Holdings PLC, OpenCL is a trademark of Apple Inc. and OpenGL is a registered trademark and the OpenGL ES and OpenGL SC logos are trademarks of Silicon Graphics International used under license by Khronos. All other product names, trademarks, and/or company names are used solely for identification and belong to their respective owners.

More Stories By Business Wire

Copyright © 2009 Business Wire. All rights reserved. Republication or redistribution of Business Wire content is expressly prohibited without the prior written consent of Business Wire. Business Wire shall not be liable for any errors or delays in the content, or for any actions taken in reliance thereon.

Latest Stories
In his General Session at DevOps Summit, Asaf Yigal, Co-Founder & VP of Product at, explored the value of Kibana 4 for log analysis and provided a hands-on tutorial on how to set up Kibana 4 and get the most out of Apache log files. He examined three use cases: IT operations, business intelligence, and security and compliance. Asaf Yigal is co-founder and VP of Product at log analytics software company In the past, he was co-founder of social-trading platform Currensee, which...
The Internet of Things (IoT) is growing rapidly by extending current technologies, products and networks. By 2020, Cisco estimates there will be 50 billion connected devices. Gartner has forecast revenues of over $300 billion, just to IoT suppliers. Now is the time to figure out how you’ll make money – not just create innovative products. With hundreds of new products and companies jumping into the IoT fray every month, there’s no shortage of innovation. Despite this, McKinsey/VisionMobile data...
Culture is the most important ingredient of DevOps. The challenge for most organizations is defining and communicating a vision of beneficial DevOps culture for their organizations, and then facilitating the changes needed to achieve that. Often this comes down to an ability to provide true leadership. As a CIO, are your direct reports IT managers or are they IT leaders? The hard truth is that many IT managers have risen through the ranks based on their technical skills, not their leadership ab...
Just over a week ago I received a long and loud sustained applause for a presentation I delivered at this year’s Cloud Expo in Santa Clara. I was extremely pleased with the turnout and had some very good conversations with many of the attendees. Over the next few days I had many more meaningful conversations and was not only happy with the results but also learned a few new things. Here is everything I learned in those three days distilled into three short points.
DevOps is about increasing efficiency, but nothing is more inefficient than building the same application twice. However, this is a routine occurrence with enterprise applications that need both a rich desktop web interface and strong mobile support. With recent technological advances from Isomorphic Software and others, rich desktop and tuned mobile experiences can now be created with a single codebase – without compromising functionality, performance or usability. In his session at DevOps Su...
As organizations realize the scope of the Internet of Things, gaining key insights from Big Data, through the use of advanced analytics, becomes crucial. However, IoT also creates the need for petabyte scale storage of data from millions of devices. A new type of Storage is required which seamlessly integrates robust data analytics with massive scale. These storage systems will act as “smart systems” provide in-place analytics that speed discovery and enable businesses to quickly derive meaningf...
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
In his General Session at 17th Cloud Expo, Bruce Swann, Senior Product Marketing Manager for Adobe Campaign, explored the key ingredients of cross-channel marketing in a digital world. Learn how the Adobe Marketing Cloud can help marketers embrace opportunities for personalized, relevant and real-time customer engagement across offline (direct mail, point of sale, call center) and digital (email, website, SMS, mobile apps, social networks, connected objects).
The buzz continues for cloud, data analytics and the Internet of Things (IoT) and their collective impact across all industries. But a new conversation is emerging - how do companies use industry disruption and technology enablers to lead in markets undergoing change, uncertainty and ambiguity? Organizations of all sizes need to evolve and transform, often under massive pressure, as industry lines blur and merge and traditional business models are assaulted and turned upside down. In this new da...
In recent years, at least 40% of companies using cloud applications have experienced data loss. One of the best prevention against cloud data loss is backing up your cloud data. In his General Session at 17th Cloud Expo, Sam McIntyre, Partner Enablement Specialist at eFolder, presented how organizations can use eFolder Cloudfinder to automate backups of cloud application data. He also demonstrated how easy it is to search and restore cloud application data using Cloudfinder.
The Internet of Everything is re-shaping technology trends–moving away from “request/response” architecture to an “always-on” Streaming Web where data is in constant motion and secure, reliable communication is an absolute necessity. As more and more THINGS go online, the challenges that developers will need to address will only increase exponentially. In his session at @ThingsExpo, Todd Greene, Founder & CEO of PubNub, exploreed the current state of IoT connectivity and review key trends and t...
Two weeks ago (November 3-5), I attended the Cloud Expo Silicon Valley as a speaker, where I presented on the security and privacy due diligence requirements for cloud solutions. Cloud security is a topical issue for every CIO, CISO, and technology buyer. Decision-makers are always looking for insights on how to mitigate the security risks of implementing and using cloud solutions. Based on the presentation topics covered at the conference, as well as the general discussions heard between sessi...
We all know that data growth is exploding and storage budgets are shrinking. Instead of showing you charts on about how much data there is, in his General Session at 17th Cloud Expo, Scott Cleland, Senior Director of Product Marketing at HGST, showed how to capture all of your data in one place. After you have your data under control, you can then analyze it in one place, saving time and resources.
With all the incredible momentum behind the Internet of Things (IoT) industry, it is easy to forget that not a single CEO wakes up and wonders if “my IoT is broken.” What they wonder is if they are making the right decisions to do all they can to increase revenue, decrease costs, and improve customer experience – effectively the same challenges they have always had in growing their business. The exciting thing about the IoT industry is now these decisions can be better, faster, and smarter. Now ...
The cloud. Like a comic book superhero, there seems to be no problem it can’t fix or cost it can’t slash. Yet making the transition is not always easy and production environments are still largely on premise. Taking some practical and sensible steps to reduce risk can also help provide a basis for a successful cloud transition. A plethora of surveys from the likes of IDG and Gartner show that more than 70 percent of enterprises have deployed at least one or more cloud application or workload. Y...