@@ -1529,6 +1529,33 @@ typedef enum SpvFPEncoding_ {
15291529 SpvFPEncodingMax = 0x7fffffff ,
15301530} SpvFPEncoding ;
15311531
1532+ typedef enum SpvCooperativeVectorMatrixLayout_ {
1533+ SpvCooperativeVectorMatrixLayoutRowMajorNV = 0 ,
1534+ SpvCooperativeVectorMatrixLayoutColumnMajorNV = 1 ,
1535+ SpvCooperativeVectorMatrixLayoutInferencingOptimalNV = 2 ,
1536+ SpvCooperativeVectorMatrixLayoutTrainingOptimalNV = 3 ,
1537+ SpvCooperativeVectorMatrixLayoutMax = 0x7fffffff ,
1538+ } SpvCooperativeVectorMatrixLayout ;
1539+
1540+ typedef enum SpvComponentType_ {
1541+ SpvComponentTypeFloat16NV = 0 ,
1542+ SpvComponentTypeFloat32NV = 1 ,
1543+ SpvComponentTypeFloat64NV = 2 ,
1544+ SpvComponentTypeSignedInt8NV = 3 ,
1545+ SpvComponentTypeSignedInt16NV = 4 ,
1546+ SpvComponentTypeSignedInt32NV = 5 ,
1547+ SpvComponentTypeSignedInt64NV = 6 ,
1548+ SpvComponentTypeUnsignedInt8NV = 7 ,
1549+ SpvComponentTypeUnsignedInt16NV = 8 ,
1550+ SpvComponentTypeUnsignedInt32NV = 9 ,
1551+ SpvComponentTypeUnsignedInt64NV = 10 ,
1552+ SpvComponentTypeSignedInt8PackedNV = 1000491000 ,
1553+ SpvComponentTypeUnsignedInt8PackedNV = 1000491001 ,
1554+ SpvComponentTypeFloatE4M3NV = 1000491002 ,
1555+ SpvComponentTypeFloatE5M2NV = 1000491003 ,
1556+ SpvComponentTypeMax = 0x7fffffff ,
1557+ } SpvComponentType ;
1558+
15321559typedef enum SpvOp_ {
15331560 SpvOpNop = 0 ,
15341561 SpvOpUndef = 1 ,
@@ -4192,6 +4219,37 @@ inline const char* SpvFPEncodingToString(SpvFPEncoding value) {
41924219 }
41934220}
41944221
4222+ inline const char * SpvCooperativeVectorMatrixLayoutToString (SpvCooperativeVectorMatrixLayout value ) {
4223+ switch (value ) {
4224+ case SpvCooperativeVectorMatrixLayoutRowMajorNV : return "RowMajorNV" ;
4225+ case SpvCooperativeVectorMatrixLayoutColumnMajorNV : return "ColumnMajorNV" ;
4226+ case SpvCooperativeVectorMatrixLayoutInferencingOptimalNV : return "InferencingOptimalNV" ;
4227+ case SpvCooperativeVectorMatrixLayoutTrainingOptimalNV : return "TrainingOptimalNV" ;
4228+ default : return "Unknown" ;
4229+ }
4230+ }
4231+
4232+ inline const char * SpvComponentTypeToString (SpvComponentType value ) {
4233+ switch (value ) {
4234+ case SpvComponentTypeFloat16NV : return "Float16NV" ;
4235+ case SpvComponentTypeFloat32NV : return "Float32NV" ;
4236+ case SpvComponentTypeFloat64NV : return "Float64NV" ;
4237+ case SpvComponentTypeSignedInt8NV : return "SignedInt8NV" ;
4238+ case SpvComponentTypeSignedInt16NV : return "SignedInt16NV" ;
4239+ case SpvComponentTypeSignedInt32NV : return "SignedInt32NV" ;
4240+ case SpvComponentTypeSignedInt64NV : return "SignedInt64NV" ;
4241+ case SpvComponentTypeUnsignedInt8NV : return "UnsignedInt8NV" ;
4242+ case SpvComponentTypeUnsignedInt16NV : return "UnsignedInt16NV" ;
4243+ case SpvComponentTypeUnsignedInt32NV : return "UnsignedInt32NV" ;
4244+ case SpvComponentTypeUnsignedInt64NV : return "UnsignedInt64NV" ;
4245+ case SpvComponentTypeSignedInt8PackedNV : return "SignedInt8PackedNV" ;
4246+ case SpvComponentTypeUnsignedInt8PackedNV : return "UnsignedInt8PackedNV" ;
4247+ case SpvComponentTypeFloatE4M3NV : return "FloatE4M3NV" ;
4248+ case SpvComponentTypeFloatE5M2NV : return "FloatE5M2NV" ;
4249+ default : return "Unknown" ;
4250+ }
4251+ }
4252+
41954253inline const char * SpvOpToString (SpvOp value ) {
41964254 switch (value ) {
41974255 case SpvOpNop : return "OpNop" ;
0 commit comments