[clang] [lldb] [llvm] [OpenCL][Clang] Add initial support for cooperative matrix extension (PR #221328)

via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 27 08:01:29 PST 2026


================
@@ -3991,6 +3991,14 @@ def MatrixType : TypeAttr {
   let PragmaAttributeSupport = 0;
 }
 
+def CoopMatrixType : TypeAttr {
+  let Spellings = [Clang<"coop_mat">];
+  let Subjects = SubjectList<[TypedefName, Var, ParmVar, Field]>;
+  let Args = [UnsignedArgument<"CoopMatScope">, UnsignedArgument<"NumRows">,
+              UnsignedArgument<"NumColumns">, UnsignedArgument<"CoopMatUse">];
+  let Documentation = [CoopMatrixTypeDocs];
----------------
asudarsa-qti wrote:

Added to 1a951f6bbee3f54546dd19af1f3e8486ac6b8ddb

Thanks

https://github.com/llvm/llvm-project/pull/221328


More information about the cfe-commits mailing list