1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
//! Original PTX specification:
//!
//! // Half precision floating point type:
//! mma.sync.aligned.m8n8k4.alayout.blayout.dtype.f16.f16.ctype d, a, b, c;
//! mma.sync.aligned.m16n8k8.row.col.dtype.f16.f16.ctype d, a, b, c;
//! mma.sync.aligned.m16n8k16.row.col.dtype.f16.f16.ctype d, a, b, c;
//! .alayout = {.row, .col};
//! .blayout = {.row, .col};
//! .ctype = {.f16, .f32};
//! .dtype = {.f16, .f32};
//! ----------------------------------------------------
//! // Alternate floating point type:
//! // Alternate floating point type:
//! mma.sync.aligned.m16n8k4.row.col.f32.tf32.tf32.f32 d, a, b, c;
//! mma.sync.aligned.m16n8k8.row.col.f32.atype.btype.f32 d, a, b, c;
//! mma.sync.aligned.m16n8k16.row.col.f32.bf16.bf16.f32 d, a, b, c;
//! mma.sync.aligned.shape.row.col.dtype.f8type.f8type.ctype d, a, b, c;
//! mma.sync.aligned.m16n8k32.row.col.kind.dtype.f8f6f4type.f8f6f4type.ctype d, a, b, c;
//! .atype = {.bf16, .tf32};
//! .btype = {.bf16, .tf32};
//! .f8type = {.e4m3, .e5m2};
//! .f8f6f4type = {.e4m3, .e5m2, .e3m2, .e2m3, .e2m1};
//! .ctype = {.f16, .f32};
//! .dtype = {.f16, .f32};
//! .shape = {.m16n8k16, .m16n8k32};
//! .kind = {.kind::f8f6f4};
//! ----------------------------------------------------
//! // Alternate floating point type:
//! // Alternate floating point type with block scaling:
//! mma.sync.aligned.m16n8k64.row.col.kind.block_scale{.scale_vec_size}.f32.e2m1.e2m1.f32.stype d, a, b, c, scale-a-data, {byte-id-a, thread-id-a}, scale-b-data, {byte-id-b, thread-id-b};
//! .kind = {.kind::mxf4};
//! .scale_vec_size = {.scale_vec::2X};
//! .stype = {.ue8m0};
//! ----------------------------------------------------
//! // Alternate floating point type:
//! mma.sync.aligned.m16n8k64.row.col.kind.block_scale.scale_vec_size.f32.e2m1.e2m1.f32.stype d, a, b, c, scale-a-data, {byte-id-a, thread-id-a}, scale-b-data, {byte-id-b, thread-id-b};
//! .kind = {.kind::mxf4nvf4};
//! .scale_vec_size = {.scale_vec::2X, .scale_vec::4X};
//! .stype = {.ue8m0, .ue4m3};
//! ----------------------------------------------------
//! // Alternate floating point type:
//! mma.sync.aligned.m16n8k32.row.col.kind.block_scale{.scale_vec_size}.f32.f8f6f4type.f8f6f4type.f32.stype d, a, b, c, scale-a-data, {byte-id-a, thread-id-a}, scale-b-data, {byte-id-b, thread-id-b};
//! .kind = {.kind::mxf8f6f4};
//! .scale_vec_size = {.scale_vec::1X};
//! .f8f6f4type = {.e4m3, .e5m2, .e3m2, .e2m3, .e2m1};
//! .stype = {.ue8m0};
//! ----------------------------------------------------
//! // Alternate floating point type:
//! // Double precision floating point type:
//! mma.sync.aligned.shape.row.col.f64.f64.f64.f64 d, a, b, c;
//! .shape = {.m8n84, .m16n8k4, .m16n8k8, .m16n8k16};
//! ----------------------------------------------------
//! // Alternate floating point type:
//! // Integer type:
//! mma.sync.aligned.shape.row.col{.satfinite}.s32.atype.btype.s32 d, a, b, c;
//! .shape = {.m8n8k16, .m16n8k16, .m16n8k32};
//! .atype = {.u8, .s8};
//! .btype = {.u8, .s8};
//! ----------------------------------------------------
//! // Alternate floating point type:
//! mma.sync.aligned.shape.row.col{.satfinite}.s32.atype.btype.s32 d, a, b, c;
//! .shape = {.m8n8k32, .m16n8k32, .m16n8k64};
//! .atype = {.u4, .s4};
//! .btype = {.u4, .s4};
//! ----------------------------------------------------
//! // Alternate floating point type:
//! // Single bit:
//! mma.sync.aligned.shape.row.col.s32.b1.b1.s32.bitOp.popc d, a, b, c;
//! .bitOp = {.xor, .and};
//! .shape = {.m8n8k128, .m16n8k128, .m16n8k256};
#![allow(unused)]
use crate::r#type::common::*;
pub mod section_0 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Alayout {
Row, // .row
Col, // .col
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Blayout {
Row, // .row
Col, // .col
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Dtype {
F16, // .f16
F32, // .f32
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Ctype {
F16, // .f16
F32, // .f32
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM8n8k4AlayoutBlayoutDtypeF16F16Ctype {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m8n8k4: (), // .m8n8k4
pub alayout: Alayout, // .alayout
pub blayout: Blayout, // .blayout
pub dtype: Dtype, // .dtype
pub f16: (), // .f16
pub f162: (), // .f16
pub ctype: Ctype, // .ctype
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k8RowColDtypeF16F16Ctype {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k8: (), // .m16n8k8
pub row: (), // .row
pub col: (), // .col
pub dtype: Dtype, // .dtype
pub f16: (), // .f16
pub f162: (), // .f16
pub ctype: Ctype, // .ctype
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k16RowColDtypeF16F16Ctype {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k16: (), // .m16n8k16
pub row: (), // .row
pub col: (), // .col
pub dtype: Dtype, // .dtype
pub f16: (), // .f16
pub f162: (), // .f16
pub ctype: Ctype, // .ctype
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
}
pub mod section_1 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Atype {
Bf16, // .bf16
Tf32, // .tf32
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Btype {
Bf16, // .bf16
Tf32, // .tf32
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Shape {
M16n8k16, // .m16n8k16
M16n8k32, // .m16n8k32
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Dtype {
F16, // .f16
F32, // .f32
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum F8type {
E4m3, // .e4m3
E5m2, // .e5m2
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Ctype {
F16, // .f16
F32, // .f32
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Kind {
KindF8f6f4, // .kind::f8f6f4
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum F8f6f4type {
E4m3, // .e4m3
E5m2, // .e5m2
E3m2, // .e3m2
E2m3, // .e2m3
E2m1, // .e2m1
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k4RowColF32Tf32Tf32F32 {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k4: (), // .m16n8k4
pub row: (), // .row
pub col: (), // .col
pub f32: (), // .f32
pub tf32: (), // .tf32
pub tf322: (), // .tf32
pub f322: (), // .f32
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k8RowColF32AtypeBtypeF32 {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k8: (), // .m16n8k8
pub row: (), // .row
pub col: (), // .col
pub f32: (), // .f32
pub atype: Atype, // .atype
pub btype: Btype, // .btype
pub f322: (), // .f32
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k16RowColF32Bf16Bf16F32 {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k16: (), // .m16n8k16
pub row: (), // .row
pub col: (), // .col
pub f32: (), // .f32
pub bf16: (), // .bf16
pub bf162: (), // .bf16
pub f322: (), // .f32
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedShapeRowColDtypeF8typeF8typeCtype {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub shape: Shape, // .shape
pub row: (), // .row
pub col: (), // .col
pub dtype: Dtype, // .dtype
pub f8type: F8type, // .f8type
pub f8type1: F8type, // .f8type
pub ctype: Ctype, // .ctype
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k32RowColKindDtypeF8f6f4typeF8f6f4typeCtype {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k32: (), // .m16n8k32
pub row: (), // .row
pub col: (), // .col
pub kind: Kind, // .kind
pub dtype: Dtype, // .dtype
pub f8f6f4type: F8f6f4type, // .f8f6f4type
pub f8f6f4type1: F8f6f4type, // .f8f6f4type
pub ctype: Ctype, // .ctype
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
}
pub mod section_2 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Kind {
KindMxf4, // .kind::mxf4
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum ScaleVecSize {
ScaleVec2x, // .scale_vec::2X
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Stype {
Ue8m0, // .ue8m0
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k64RowColKindBlockScaleScaleVecSizeF32E2m1E2m1F32Stype {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k64: (), // .m16n8k64
pub row: (), // .row
pub col: (), // .col
pub kind: Kind, // .kind
pub block_scale: (), // .block_scale
pub scale_vec_size: Option<ScaleVecSize>, // {.scale_vec_size}
pub f32: (), // .f32
pub e2m1: (), // .e2m1
pub e2m12: (), // .e2m1
pub f322: (), // .f32
pub stype: Stype, // .stype
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub scale_a_data: GeneralOperand, // scale-a-data
pub byte_id_a: VectorOperand, // {byte-id-a, thread-id-a}
pub scale_b_data: GeneralOperand, // scale-b-data
pub byte_id_b: VectorOperand, // {byte-id-b, thread-id-b}
pub span: Span,
}
}
pub mod section_3 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Kind {
KindMxf4nvf4, // .kind::mxf4nvf4
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum ScaleVecSize {
ScaleVec2x, // .scale_vec::2X
ScaleVec4x, // .scale_vec::4X
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Stype {
Ue8m0, // .ue8m0
Ue4m3, // .ue4m3
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k64RowColKindBlockScaleScaleVecSizeF32E2m1E2m1F32Stype1 {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k64: (), // .m16n8k64
pub row: (), // .row
pub col: (), // .col
pub kind: Kind, // .kind
pub block_scale: (), // .block_scale
pub scale_vec_size: ScaleVecSize, // .scale_vec_size
pub f32: (), // .f32
pub e2m1: (), // .e2m1
pub e2m12: (), // .e2m1
pub f322: (), // .f32
pub stype: Stype, // .stype
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub scale_a_data: GeneralOperand, // scale-a-data
pub byte_id_a: VectorOperand, // {byte-id-a, thread-id-a}
pub scale_b_data: GeneralOperand, // scale-b-data
pub byte_id_b: VectorOperand, // {byte-id-b, thread-id-b}
pub span: Span,
}
}
pub mod section_4 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Kind {
KindMxf8f6f4, // .kind::mxf8f6f4
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum ScaleVecSize {
ScaleVec1x, // .scale_vec::1X
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum F8f6f4type {
E4m3, // .e4m3
E5m2, // .e5m2
E3m2, // .e3m2
E2m3, // .e2m3
E2m1, // .e2m1
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Stype {
Ue8m0, // .ue8m0
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedM16n8k32RowColKindBlockScaleScaleVecSizeF32F8f6f4typeF8f6f4typeF32Stype {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub m16n8k32: (), // .m16n8k32
pub row: (), // .row
pub col: (), // .col
pub kind: Kind, // .kind
pub block_scale: (), // .block_scale
pub scale_vec_size: Option<ScaleVecSize>, // {.scale_vec_size}
pub f32: (), // .f32
pub f8f6f4type: F8f6f4type, // .f8f6f4type
pub f8f6f4type1: F8f6f4type, // .f8f6f4type
pub f322: (), // .f32
pub stype: Stype, // .stype
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub scale_a_data: GeneralOperand, // scale-a-data
pub byte_id_a: VectorOperand, // {byte-id-a, thread-id-a}
pub scale_b_data: GeneralOperand, // scale-b-data
pub byte_id_b: VectorOperand, // {byte-id-b, thread-id-b}
pub span: Span,
}
}
pub mod section_5 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Shape {
M16n8k16, // .m16n8k16
M16n8k4, // .m16n8k4
M16n8k8, // .m16n8k8
M8n84, // .m8n84
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedShapeRowColF64F64F64F64 {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub shape: Shape, // .shape
pub row: (), // .row
pub col: (), // .col
pub f64: (), // .f64
pub f642: (), // .f64
pub f644: (), // .f64
pub f646: (), // .f64
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
}
pub mod section_6 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Shape {
M16n8k16, // .m16n8k16
M16n8k32, // .m16n8k32
M8n8k16, // .m8n8k16
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Atype {
U8, // .u8
S8, // .s8
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Btype {
U8, // .u8
S8, // .s8
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedShapeRowColSatfiniteS32AtypeBtypeS32 {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub shape: Shape, // .shape
pub row: (), // .row
pub col: (), // .col
pub satfinite: bool, // {.satfinite}
pub s32: (), // .s32
pub atype: Atype, // .atype
pub btype: Btype, // .btype
pub s322: (), // .s32
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
}
pub mod section_7 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Shape {
M16n8k32, // .m16n8k32
M16n8k64, // .m16n8k64
M8n8k32, // .m8n8k32
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Atype {
U4, // .u4
S4, // .s4
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Btype {
U4, // .u4
S4, // .s4
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedShapeRowColSatfiniteS32AtypeBtypeS321 {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub shape: Shape, // .shape
pub row: (), // .row
pub col: (), // .col
pub satfinite: bool, // {.satfinite}
pub s32: (), // .s32
pub atype: Atype, // .atype
pub btype: Btype, // .btype
pub s322: (), // .s32
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
}
pub mod section_8 {
use crate::Spanned;
use crate::parser::Span;
use crate::r#type::common::*;
use serde::Serialize;
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Shape {
M16n8k128, // .m16n8k128
M16n8k256, // .m16n8k256
M8n8k128, // .m8n8k128
}
#[derive(Debug, Clone, PartialEq, Serialize)]
pub enum Bitop {
Xor, // .xor
And, // .and
}
#[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
pub struct MmaSyncAlignedShapeRowColS32B1B1S32BitopPopc {
pub sync: (), // .sync
pub aligned: (), // .aligned
pub shape: Shape, // .shape
pub row: (), // .row
pub col: (), // .col
pub s32: (), // .s32
pub b1: (), // .b1
pub b12: (), // .b1
pub s322: (), // .s32
pub bitop: Bitop, // .bitOp
pub popc: (), // .popc
pub d: GeneralOperand, // d
pub a: GeneralOperand, // a
pub b: GeneralOperand, // b
pub c: GeneralOperand, // c
pub span: Span,
}
}
// Re-export types with section suffixes to avoid naming conflicts
// e.g., Type0 for section_0::Type, Type1 for section_1::Type
pub use section_0::Alayout as Alayout0;
pub use section_0::Blayout as Blayout0;
pub use section_0::Ctype as Ctype0;
pub use section_0::Dtype as Dtype0;
pub use section_0::MmaSyncAlignedM8n8k4AlayoutBlayoutDtypeF16F16Ctype;
pub use section_0::MmaSyncAlignedM16n8k8RowColDtypeF16F16Ctype;
pub use section_0::MmaSyncAlignedM16n8k16RowColDtypeF16F16Ctype;
pub use section_1::Atype as Atype1;
pub use section_1::Btype as Btype1;
pub use section_1::Ctype as Ctype1;
pub use section_1::Dtype as Dtype1;
pub use section_1::F8f6f4type as F8f6f4type1;
pub use section_1::F8type as F8type1;
pub use section_1::Kind as Kind1;
pub use section_1::MmaSyncAlignedM16n8k4RowColF32Tf32Tf32F32;
pub use section_1::MmaSyncAlignedM16n8k8RowColF32AtypeBtypeF32;
pub use section_1::MmaSyncAlignedM16n8k16RowColF32Bf16Bf16F32;
pub use section_1::MmaSyncAlignedM16n8k32RowColKindDtypeF8f6f4typeF8f6f4typeCtype;
pub use section_1::MmaSyncAlignedShapeRowColDtypeF8typeF8typeCtype;
pub use section_1::Shape as Shape1;
pub use section_2::Kind as Kind2;
pub use section_2::MmaSyncAlignedM16n8k64RowColKindBlockScaleScaleVecSizeF32E2m1E2m1F32Stype;
pub use section_2::ScaleVecSize as ScaleVecSize2;
pub use section_2::Stype as Stype2;
pub use section_3::Kind as Kind3;
pub use section_3::MmaSyncAlignedM16n8k64RowColKindBlockScaleScaleVecSizeF32E2m1E2m1F32Stype1;
pub use section_3::ScaleVecSize as ScaleVecSize3;
pub use section_3::Stype as Stype3;
pub use section_4::F8f6f4type as F8f6f4type4;
pub use section_4::Kind as Kind4;
pub use section_4::MmaSyncAlignedM16n8k32RowColKindBlockScaleScaleVecSizeF32F8f6f4typeF8f6f4typeF32Stype;
pub use section_4::ScaleVecSize as ScaleVecSize4;
pub use section_4::Stype as Stype4;
pub use section_5::MmaSyncAlignedShapeRowColF64F64F64F64;
pub use section_5::Shape as Shape5;
pub use section_6::Atype as Atype6;
pub use section_6::Btype as Btype6;
pub use section_6::MmaSyncAlignedShapeRowColSatfiniteS32AtypeBtypeS32;
pub use section_6::Shape as Shape6;
pub use section_7::Atype as Atype7;
pub use section_7::Btype as Btype7;
pub use section_7::MmaSyncAlignedShapeRowColSatfiniteS32AtypeBtypeS321;
pub use section_7::Shape as Shape7;
pub use section_8::Bitop as Bitop8;
pub use section_8::MmaSyncAlignedShapeRowColS32B1B1S32BitopPopc;
pub use section_8::Shape as Shape8;