Khronos SPIR Registry

Khronos SPIR Registry

The SPIR registry contains specifications of the OpenCL Standard Portable Intermediate Representation, providing a non-source encoding and binary level portability for OpenCL 1.2 device programs. Open source software components supporting SPIR are available in the Khronos Github repository and include a modified Clang which generates SPIR from device programs in OpenCL C, an SPIR module verifier, and supporting header files.

SPIR Specification, Headers, and Documentation

The current version of SPIR is SPIR 1.2.

Providing Feedback on the Registry

Khronos welcomes comments and bug reports. To provide feedback, please create an account on the Khronos Bugzilla and file a bug. Make sure to fill in the "Product" field in the bug entry form as "OpenCL SPIR" and fill in other fields appropriately, particularly the "Component".

safety