1// Copyright 2021-2024 The Khronos Group Inc. 2// 3// SPDX-License-Identifier: CC-BY-4.0 4 5include::{generated}/meta/{refprefix}VK_KHR_cooperative_matrix.adoc[] 6 7=== Other Extension Metadata 8 9*Last Modified Date*:: 10 2023-05-03 11*Interactions and External Dependencies*:: 12 - This extension provides API support for 13 {GLSLregistry}/khr/GLSL_KHR_cooperative_matrix.txt[`GLSL_KHR_cooperative_matrix`] 14*Contributors*:: 15 - Jeff Bolz, NVIDIA 16 - Markus Tavenrath, NVIDIA 17 - Daniel Koch, NVIDIA 18 - Kevin Petit, Arm Ltd. 19 - Boris Zanin, AMD 20 21=== Description 22 23This extension adds support for using cooperative matrix types in SPIR-V. 24Cooperative matrix types are medium-sized matrices that are primarily 25supported in compute shaders, where the storage for the matrix is spread 26across all invocations in some scope (usually a subgroup) and those 27invocations cooperate to efficiently perform matrix multiplies. 28 29Cooperative matrix types are defined by the 30{spirv}/KHR/SPV_KHR_cooperative_matrix.html[`SPV_KHR_cooperative_matrix`] 31SPIR-V extension and can be used with the 32{GLSLregistry}/khr/GLSL_KHR_cooperative_matrix.txt[`GLSL_KHR_cooperative_matrix`] 33GLSL extension. 34 35This extension includes support for enumerating the matrix types and 36dimensions that are supported by the implementation. 37 38include::{generated}/interfaces/VK_KHR_cooperative_matrix.adoc[] 39 40=== New SPIR-V Capabilities 41 42 * <<spirvenv-capabilities-table-CooperativeMatrixKHR,CooperativeMatrixKHR>> 43 44=== Issues 45 46=== Version History 47 48 * Revision 2, 2023-05-03 (Kevin Petit) 49 ** First KHR revision 50 * Revision 1, 2019-02-05 (Jeff Bolz) 51 ** NVIDIA vendor extension 52