Comum · Literatura

Standard Portable Intermediate Representation

Intermediate language for parallel compute and graphics by Khronos Group

Texto em inglês

Standard Portable Intermediate Representation (SPIR) is an intermediate language for parallel computing and graphics by Khronos Group. It is used in multiple execution environments, including the Vulkan graphics API and the OpenCL compute API, to represent a shader or kernel.

Na Wikipédia

Texto em inglês Ainda não há artigo no teu idioma: trecho em inglês.

Standard Portable Intermediate Representation (SPIR) is an intermediate language for parallel computing and graphics by Khronos Group. It is used in multiple execution environments, including the Vulkan graphics API and the OpenCL compute API, to represent a shader or kernel. It is also used as an interchange language for cross compilation. SPIR-V is a new version of SPIR which was introduced in 2015 by the Khronos Group, and has since replaced the original SPIR, which was introduced in 2012. On September 19th 2024, Microsoft has announced plans to adopt SPIR-V as the Direct3D Interchange format in place of DXIL, beginning support from Shader Model 7 on. The purposes of SPIR-V are to natively represent the primitives needed by compute and graphics; to separate high-level language from the interface to compute and graphics drivers; to be the distribution form, or distribute fully compiled binaries; to be a fully self-contained specification; and to support multiple APIs. It is also used as an intermediate target for cross-compilation tools. For example, SPIR-V allows the Vulkan API to use any shading language, including GLSL and HLSL. SPIR-V can be decompiled into several shading languages (GLSL, GLSL ES, MSL, HLSL) using SPIRV-Cross, so that these languages can be interconverted. It also has paths to and/or from WebGPU, OpenCL, SYCL, C++, and Rust.

Texto: Wikipédia em inglês, CC BY-SA 4.0. · Imagem: ™/®Khronos Group (Public domain) ·

Abrir

Toca para fechar

Confirmação