1#![allow(unused)]
73use crate::r#type::common::*;
74
75pub mod section_0 {
76 use crate::Spanned;
77 use crate::parser::Span;
78 use crate::r#type::common::*;
79
80 use serde::Serialize;
81
82 #[derive(Debug, Clone, PartialEq, Serialize)]
83 pub enum Alayout {
84 Row, Col, }
87
88 #[derive(Debug, Clone, PartialEq, Serialize)]
89 pub enum Blayout {
90 Row, Col, }
93
94 #[derive(Debug, Clone, PartialEq, Serialize)]
95 pub enum Dtype {
96 F16, F32, }
99
100 #[derive(Debug, Clone, PartialEq, Serialize)]
101 pub enum Ctype {
102 F16, F32, }
105
106 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
107 pub struct MmaSyncAlignedM8n8k4AlayoutBlayoutDtypeF16F16Ctype {
108 pub sync: (), pub aligned: (), pub m8n8k4: (), pub alayout: Alayout, pub blayout: Blayout, pub dtype: Dtype, pub f16: (), pub f162: (), pub ctype: Ctype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
122 }
123
124 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
125 pub struct MmaSyncAlignedM16n8k8RowColDtypeF16F16Ctype {
126 pub sync: (), pub aligned: (), pub m16n8k8: (), pub row: (), pub col: (), pub dtype: Dtype, pub f16: (), pub f162: (), pub ctype: Ctype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
140 }
141
142 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
143 pub struct MmaSyncAlignedM16n8k16RowColDtypeF16F16Ctype {
144 pub sync: (), pub aligned: (), pub m16n8k16: (), pub row: (), pub col: (), pub dtype: Dtype, pub f16: (), pub f162: (), pub ctype: Ctype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
158 }
159}
160
161pub mod section_1 {
162 use crate::Spanned;
163 use crate::parser::Span;
164 use crate::r#type::common::*;
165
166 use serde::Serialize;
167
168 #[derive(Debug, Clone, PartialEq, Serialize)]
169 pub enum Atype {
170 Bf16, Tf32, }
173
174 #[derive(Debug, Clone, PartialEq, Serialize)]
175 pub enum Btype {
176 Bf16, Tf32, }
179
180 #[derive(Debug, Clone, PartialEq, Serialize)]
181 pub enum Shape {
182 M16n8k16, M16n8k32, }
185
186 #[derive(Debug, Clone, PartialEq, Serialize)]
187 pub enum Dtype {
188 F16, F32, }
191
192 #[derive(Debug, Clone, PartialEq, Serialize)]
193 pub enum F8type {
194 E4m3, E5m2, }
197
198 #[derive(Debug, Clone, PartialEq, Serialize)]
199 pub enum Ctype {
200 F16, F32, }
203
204 #[derive(Debug, Clone, PartialEq, Serialize)]
205 pub enum Kind {
206 KindF8f6f4, }
208
209 #[derive(Debug, Clone, PartialEq, Serialize)]
210 pub enum F8f6f4type {
211 E4m3, E5m2, E3m2, E2m3, E2m1, }
217
218 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
219 pub struct MmaSyncAlignedM16n8k4RowColF32Tf32Tf32F32 {
220 pub sync: (), pub aligned: (), pub m16n8k4: (), pub row: (), pub col: (), pub f32: (), pub tf32: (), pub tf322: (), pub f322: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
234 }
235
236 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
237 pub struct MmaSyncAlignedM16n8k8RowColF32AtypeBtypeF32 {
238 pub sync: (), pub aligned: (), pub m16n8k8: (), pub row: (), pub col: (), pub f32: (), pub atype: Atype, pub btype: Btype, pub f322: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
252 }
253
254 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
255 pub struct MmaSyncAlignedM16n8k16RowColF32Bf16Bf16F32 {
256 pub sync: (), pub aligned: (), pub m16n8k16: (), pub row: (), pub col: (), pub f32: (), pub bf16: (), pub bf162: (), pub f322: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
270 }
271
272 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
273 pub struct MmaSyncAlignedShapeRowColDtypeF8typeF8typeCtype {
274 pub sync: (), pub aligned: (), pub shape: Shape, pub row: (), pub col: (), pub dtype: Dtype, pub f8type: F8type, pub f8type1: F8type, pub ctype: Ctype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
288 }
289
290 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
291 pub struct MmaSyncAlignedM16n8k32RowColKindDtypeF8f6f4typeF8f6f4typeCtype {
292 pub sync: (), pub aligned: (), pub m16n8k32: (), pub row: (), pub col: (), pub kind: Kind, pub dtype: Dtype, pub f8f6f4type: F8f6f4type, pub f8f6f4type1: F8f6f4type, pub ctype: Ctype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
307 }
308}
309
310pub mod section_2 {
311 use crate::Spanned;
312 use crate::parser::Span;
313 use crate::r#type::common::*;
314
315 use serde::Serialize;
316
317 #[derive(Debug, Clone, PartialEq, Serialize)]
318 pub enum Kind {
319 KindMxf4, }
321
322 #[derive(Debug, Clone, PartialEq, Serialize)]
323 pub enum ScaleVecSize {
324 ScaleVec2x, }
326
327 #[derive(Debug, Clone, PartialEq, Serialize)]
328 pub enum Stype {
329 Ue8m0, }
331
332 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
333 pub struct MmaSyncAlignedM16n8k64RowColKindBlockScaleScaleVecSizeF32E2m1E2m1F32Stype {
334 pub sync: (), pub aligned: (), pub m16n8k64: (), pub row: (), pub col: (), pub kind: Kind, pub block_scale: (), pub scale_vec_size: Option<ScaleVecSize>, pub f32: (), pub e2m1: (), pub e2m12: (), pub f322: (), pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub scale_a_data: GeneralOperand, pub byte_id_a: VectorOperand, pub scale_b_data: GeneralOperand, pub byte_id_b: VectorOperand, pub span: Span,
356 }
357}
358
359pub mod section_3 {
360 use crate::Spanned;
361 use crate::parser::Span;
362 use crate::r#type::common::*;
363
364 use serde::Serialize;
365
366 #[derive(Debug, Clone, PartialEq, Serialize)]
367 pub enum Kind {
368 KindMxf4nvf4, }
370
371 #[derive(Debug, Clone, PartialEq, Serialize)]
372 pub enum ScaleVecSize {
373 ScaleVec2x, ScaleVec4x, }
376
377 #[derive(Debug, Clone, PartialEq, Serialize)]
378 pub enum Stype {
379 Ue8m0, Ue4m3, }
382
383 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
384 pub struct MmaSyncAlignedM16n8k64RowColKindBlockScaleScaleVecSizeF32E2m1E2m1F32Stype1 {
385 pub sync: (), pub aligned: (), pub m16n8k64: (), pub row: (), pub col: (), pub kind: Kind, pub block_scale: (), pub scale_vec_size: ScaleVecSize, pub f32: (), pub e2m1: (), pub e2m12: (), pub f322: (), pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub scale_a_data: GeneralOperand, pub byte_id_a: VectorOperand, pub scale_b_data: GeneralOperand, pub byte_id_b: VectorOperand, pub span: Span,
407 }
408}
409
410pub mod section_4 {
411 use crate::Spanned;
412 use crate::parser::Span;
413 use crate::r#type::common::*;
414
415 use serde::Serialize;
416
417 #[derive(Debug, Clone, PartialEq, Serialize)]
418 pub enum Kind {
419 KindMxf8f6f4, }
421
422 #[derive(Debug, Clone, PartialEq, Serialize)]
423 pub enum ScaleVecSize {
424 ScaleVec1x, }
426
427 #[derive(Debug, Clone, PartialEq, Serialize)]
428 pub enum F8f6f4type {
429 E4m3, E5m2, E3m2, E2m3, E2m1, }
435
436 #[derive(Debug, Clone, PartialEq, Serialize)]
437 pub enum Stype {
438 Ue8m0, }
440
441 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
442 pub struct MmaSyncAlignedM16n8k32RowColKindBlockScaleScaleVecSizeF32F8f6f4typeF8f6f4typeF32Stype {
443 pub sync: (), pub aligned: (), pub m16n8k32: (), pub row: (), pub col: (), pub kind: Kind, pub block_scale: (), pub scale_vec_size: Option<ScaleVecSize>, pub f32: (), pub f8f6f4type: F8f6f4type, pub f8f6f4type1: F8f6f4type, pub f322: (), pub stype: Stype, pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub scale_a_data: GeneralOperand, pub byte_id_a: VectorOperand, pub scale_b_data: GeneralOperand, pub byte_id_b: VectorOperand, pub span: Span,
465 }
466}
467
468pub mod section_5 {
469 use crate::Spanned;
470 use crate::parser::Span;
471 use crate::r#type::common::*;
472
473 use serde::Serialize;
474
475 #[derive(Debug, Clone, PartialEq, Serialize)]
476 pub enum Shape {
477 M16n8k16, M16n8k4, M16n8k8, M8n84, }
482
483 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
484 pub struct MmaSyncAlignedShapeRowColF64F64F64F64 {
485 pub sync: (), pub aligned: (), pub shape: Shape, pub row: (), pub col: (), pub f64: (), pub f642: (), pub f644: (), pub f646: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
499 }
500}
501
502pub mod section_6 {
503 use crate::Spanned;
504 use crate::parser::Span;
505 use crate::r#type::common::*;
506
507 use serde::Serialize;
508
509 #[derive(Debug, Clone, PartialEq, Serialize)]
510 pub enum Shape {
511 M16n8k16, M16n8k32, M8n8k16, }
515
516 #[derive(Debug, Clone, PartialEq, Serialize)]
517 pub enum Atype {
518 U8, S8, }
521
522 #[derive(Debug, Clone, PartialEq, Serialize)]
523 pub enum Btype {
524 U8, S8, }
527
528 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
529 pub struct MmaSyncAlignedShapeRowColSatfiniteS32AtypeBtypeS32 {
530 pub sync: (), pub aligned: (), pub shape: Shape, pub row: (), pub col: (), pub satfinite: bool, pub s32: (), pub atype: Atype, pub btype: Btype, pub s322: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
545 }
546}
547
548pub mod section_7 {
549 use crate::Spanned;
550 use crate::parser::Span;
551 use crate::r#type::common::*;
552
553 use serde::Serialize;
554
555 #[derive(Debug, Clone, PartialEq, Serialize)]
556 pub enum Shape {
557 M16n8k32, M16n8k64, M8n8k32, }
561
562 #[derive(Debug, Clone, PartialEq, Serialize)]
563 pub enum Atype {
564 U4, S4, }
567
568 #[derive(Debug, Clone, PartialEq, Serialize)]
569 pub enum Btype {
570 U4, S4, }
573
574 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
575 pub struct MmaSyncAlignedShapeRowColSatfiniteS32AtypeBtypeS321 {
576 pub sync: (), pub aligned: (), pub shape: Shape, pub row: (), pub col: (), pub satfinite: bool, pub s32: (), pub atype: Atype, pub btype: Btype, pub s322: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
591 }
592}
593
594pub mod section_8 {
595 use crate::Spanned;
596 use crate::parser::Span;
597 use crate::r#type::common::*;
598
599 use serde::Serialize;
600
601 #[derive(Debug, Clone, PartialEq, Serialize)]
602 pub enum Shape {
603 M16n8k128, M16n8k256, M8n8k128, }
607
608 #[derive(Debug, Clone, PartialEq, Serialize)]
609 pub enum Bitop {
610 Xor, And, }
613
614 #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
615 pub struct MmaSyncAlignedShapeRowColS32B1B1S32BitopPopc {
616 pub sync: (), pub aligned: (), pub shape: Shape, pub row: (), pub col: (), pub s32: (), pub b1: (), pub b12: (), pub s322: (), pub bitop: Bitop, pub popc: (), pub d: GeneralOperand, pub a: GeneralOperand, pub b: GeneralOperand, pub c: GeneralOperand, pub span: Span,
632 }
633}
634
635pub use section_0::Alayout as Alayout0;
638pub use section_0::Blayout as Blayout0;
639pub use section_0::Ctype as Ctype0;
640pub use section_0::Dtype as Dtype0;
641pub use section_0::MmaSyncAlignedM8n8k4AlayoutBlayoutDtypeF16F16Ctype;
642pub use section_0::MmaSyncAlignedM16n8k8RowColDtypeF16F16Ctype;
643pub use section_0::MmaSyncAlignedM16n8k16RowColDtypeF16F16Ctype;
644pub use section_1::Atype as Atype1;
645pub use section_1::Btype as Btype1;
646pub use section_1::Ctype as Ctype1;
647pub use section_1::Dtype as Dtype1;
648pub use section_1::F8f6f4type as F8f6f4type1;
649pub use section_1::F8type as F8type1;
650pub use section_1::Kind as Kind1;
651pub use section_1::MmaSyncAlignedM16n8k4RowColF32Tf32Tf32F32;
652pub use section_1::MmaSyncAlignedM16n8k8RowColF32AtypeBtypeF32;
653pub use section_1::MmaSyncAlignedM16n8k16RowColF32Bf16Bf16F32;
654pub use section_1::MmaSyncAlignedM16n8k32RowColKindDtypeF8f6f4typeF8f6f4typeCtype;
655pub use section_1::MmaSyncAlignedShapeRowColDtypeF8typeF8typeCtype;
656pub use section_1::Shape as Shape1;
657pub use section_2::Kind as Kind2;
658pub use section_2::MmaSyncAlignedM16n8k64RowColKindBlockScaleScaleVecSizeF32E2m1E2m1F32Stype;
659pub use section_2::ScaleVecSize as ScaleVecSize2;
660pub use section_2::Stype as Stype2;
661pub use section_3::Kind as Kind3;
662pub use section_3::MmaSyncAlignedM16n8k64RowColKindBlockScaleScaleVecSizeF32E2m1E2m1F32Stype1;
663pub use section_3::ScaleVecSize as ScaleVecSize3;
664pub use section_3::Stype as Stype3;
665pub use section_4::F8f6f4type as F8f6f4type4;
666pub use section_4::Kind as Kind4;
667pub use section_4::MmaSyncAlignedM16n8k32RowColKindBlockScaleScaleVecSizeF32F8f6f4typeF8f6f4typeF32Stype;
668pub use section_4::ScaleVecSize as ScaleVecSize4;
669pub use section_4::Stype as Stype4;
670pub use section_5::MmaSyncAlignedShapeRowColF64F64F64F64;
671pub use section_5::Shape as Shape5;
672pub use section_6::Atype as Atype6;
673pub use section_6::Btype as Btype6;
674pub use section_6::MmaSyncAlignedShapeRowColSatfiniteS32AtypeBtypeS32;
675pub use section_6::Shape as Shape6;
676pub use section_7::Atype as Atype7;
677pub use section_7::Btype as Btype7;
678pub use section_7::MmaSyncAlignedShapeRowColSatfiniteS32AtypeBtypeS321;
679pub use section_7::Shape as Shape7;
680pub use section_8::Bitop as Bitop8;
681pub use section_8::MmaSyncAlignedShapeRowColS32B1B1S32BitopPopc;
682pub use section_8::Shape as Shape8;