yum-mirror/glslang
git clone https://git.yummers.dev/yum-mirror/glslang
24ae85ba
main
1spv.coopmatmaint1.comp 2// Module Version 10600 3// Generated by (magic number): 8000b 4// Id's are bound by 243 5 6 Capability Shader 7 Capability Float16 8 Capability Int8 9 Capability Float8EXT 10 Capability Float8CooperativeMatrixEXT 11 Capability VulkanMemoryModelKHR 12 Capability CooperativeMatrixConversionsEXT 13 Capability CooperativeMatrixReductionsNV 14 Capability CooperativeMatrixPerElementOperationsNV 15 Capability CooperativeMatrixGetCoordinateEXT 16 Capability CooperativeMatrixKHR 17 Extension "SPV_EXT_cooperative_matrix_maintenance1" 18 Extension "SPV_EXT_float8" 19 Extension "SPV_KHR_cooperative_matrix" 20 1: ExtInstImport "GLSL.std.450" 21 MemoryModel Logical VulkanKHR 22 EntryPoint GLCompute 4 "main" 23 ExecutionMode 4 LocalSize 64 1 1 24 Source GLSL 450 25 SourceExtension "GL_EXT_cooperative_matrix_maintenance1" 26 SourceExtension "GL_EXT_float_e5m2" 27 SourceExtension "GL_EXT_shader_explicit_arithmetic_types" 28 SourceExtension "GL_KHR_cooperative_matrix" 29 SourceExtension "GL_KHR_memory_scope_semantics" 30 Name 4 "main" 31 Name 12 "relu(u1;u1;f161;" 32 Name 9 "row" 33 Name 10 "col" 34 Name 11 "x" 35 Name 19 "add(u1;u1;f161;f161;" 36 Name 15 "row" 37 Name 16 "col" 38 Name 17 "x" 39 Name 18 "y" 40 Name 24 "combineSum(f161;f161;" 41 Name 22 "a" 42 Name 23 "b" 43 Name 28 "combineMax(f161;f161;" 44 Name 26 "a" 45 Name 27 "b" 46 Name 49 "A" 47 Name 52 "Acc" 48 Name 58 "B" 49 Name 63 "tr" 50 Name 79 "Acc2x2" 51 Name 90 "Accu32" 52 Name 104 "Accs32" 53 Name 112 "Accf16" 54 Name 122 "Accf32" 55 Name 135 "Dim" 56 Name 138 "mijm1" 57 Name 146 "index" 58 Name 149 "coord" 59 Name 161 "Bu8t" 60 Name 166 "Bs8t" 61 Name 169 "Bf16t" 62 Name 194 "Bs32t" 63 Name 200 "matAe5m2" 64 Name 205 "Au8t" 65 Name 210 "As8t" 66 Name 215 "Af16t" 67 Name 238 "As32t" 68 Decorate 65 DecorationCooperativeMatrixTransposeEXT 69 Decorate 135(Dim) SpecId 0 70 Decorate 163 DecorationCooperativeMatrixTransposeEXT 71 Decorate 168 DecorationCooperativeMatrixTransposeEXT 72 Decorate 171 DecorationCooperativeMatrixTransposeEXT 73 Decorate 173 DecorationCooperativeMatrixTransposeEXT 74 Decorate 175 DecorationCooperativeMatrixTransposeEXT 75 Decorate 177 DecorationCooperativeMatrixTransposeEXT 76 Decorate 179 DecorationCooperativeMatrixTransposeEXT 77 Decorate 182 DecorationCooperativeMatrixTransposeEXT 78 Decorate 184 DecorationCooperativeMatrixTransposeEXT 79 Decorate 186 DecorationCooperativeMatrixTransposeEXT 80 Decorate 188 DecorationCooperativeMatrixTransposeEXT 81 Decorate 191 DecorationCooperativeMatrixTransposeEXT 82 Decorate 196 DecorationCooperativeMatrixTransposeEXT 83 Decorate 202 DecorationSaturatedToLargestFloat8NormalConversionEXT 84 Decorate 207 DecorationCooperativeMatrixTransposeEXT 85 Decorate 212 DecorationCooperativeMatrixTransposeEXT 86 Decorate 217 DecorationCooperativeMatrixTransposeEXT 87 Decorate 219 DecorationCooperativeMatrixTransposeEXT 88 Decorate 221 DecorationCooperativeMatrixTransposeEXT 89 Decorate 223 DecorationCooperativeMatrixTransposeEXT 90 Decorate 225 DecorationCooperativeMatrixTransposeEXT 91 Decorate 228 DecorationCooperativeMatrixTransposeEXT 92 Decorate 230 DecorationCooperativeMatrixTransposeEXT 93 Decorate 232 DecorationCooperativeMatrixTransposeEXT 94 Decorate 234 DecorationCooperativeMatrixTransposeEXT 95 Decorate 237 DecorationCooperativeMatrixTransposeEXT 96 Decorate 240 DecorationCooperativeMatrixTransposeEXT 97 2: TypeVoid 98 3: TypeFunction 2 99 6: TypeInt 32 0 100 7: TypeFloat 16 101 8: TypeFunction 7(float16_t) 6(int) 6(int) 7(float16_t) 102 14: TypeFunction 7(float16_t) 6(int) 6(int) 7(float16_t) 7(float16_t) 103 21: TypeFunction 7(float16_t) 7(float16_t) 7(float16_t) 104 30:7(float16_t) Constant 0 105 43: 6(int) Constant 2 106 44: 6(int) Constant 64 107 45: 6(int) Constant 32 108 46: 6(int) Constant 0 109 47: TypeCooperativeMatrixKHR 7(float16_t) 43 44 45 46 110 48: TypePointer Function 47 111 50: TypeCooperativeMatrixKHR 7(float16_t) 43 44 45 43 112 51: TypePointer Function 50 113 55: 6(int) Constant 1 114 56: TypeCooperativeMatrixKHR 7(float16_t) 43 44 45 55 115 57: TypePointer Function 56 116 61: TypeCooperativeMatrixKHR 7(float16_t) 43 45 44 55 117 62: TypePointer Function 61 118 67: TypeInt 32 1 119 68: 67(int) Constant 1 120 71: 67(int) Constant 2 121 74: 67(int) Constant 3 122 76: 6(int) Constant 16 123 77: TypeCooperativeMatrixKHR 7(float16_t) 43 45 76 43 124 78: TypePointer Function 77 125 81: 67(int) Constant 4 126 86:7(float16_t) Constant 15360 127 88: TypeCooperativeMatrixKHR 6(int) 43 44 45 43 128 89: TypePointer Function 88 129 92: TypeInt 8 0 130 93: TypeCooperativeMatrixKHR 92(int8_t) 43 44 45 46 131 96: TypeInt 8 1 132 97: TypeCooperativeMatrixKHR 96(int8_t) 43 44 45 46 133 102: TypeCooperativeMatrixKHR 67(int) 43 44 45 43 134 103: TypePointer Function 102 135 119: TypeFloat 32 136 120: TypeCooperativeMatrixKHR 119(float) 43 44 45 43 137 121: TypePointer Function 120 138 130: TypeCooperativeMatrixKHR 6(int) 43 44 45 46 139 133: TypeCooperativeMatrixKHR 67(int) 43 44 45 46 140 135(Dim): 6(int) SpecConstant 32 141 136: TypeCooperativeMatrixKHR 119(float) 43 135(Dim) 135(Dim) 43 142 137: TypePointer Function 136 143 139: 119(float) Constant 4286578688 144 140: 136 ConstantComposite 139 145 145: TypePointer Function 6(int) 146 147: TypeVector 6(int) 2 147 148: TypePointer Function 147(ivec2) 148 159: TypeCooperativeMatrixKHR 92(int8_t) 43 45 44 55 149 160: TypePointer Function 159 150 164: TypeCooperativeMatrixKHR 96(int8_t) 43 45 44 55 151 165: TypePointer Function 164 152 192: TypeCooperativeMatrixKHR 67(int) 43 45 44 55 153 193: TypePointer Function 192 154 197: TypeFloat 8 4215 155 198: TypeCooperativeMatrixKHR 197(floate5m2_t) 43 44 45 46 156 199: TypePointer Function 198 157 203: TypeCooperativeMatrixKHR 92(int8_t) 43 45 44 46 158 204: TypePointer Function 203 159 208: TypeCooperativeMatrixKHR 96(int8_t) 43 45 44 46 160 209: TypePointer Function 208 161 213: TypeCooperativeMatrixKHR 7(float16_t) 43 45 44 46 162 214: TypePointer Function 213 163 241: TypeVector 6(int) 3 164 242: 241(ivec3) ConstantComposite 44 55 55 165 4(main): 2 Function None 3 166 5: Label 167 49(A): 48(ptr) Variable Function 168 52(Acc): 51(ptr) Variable Function 169 58(B): 57(ptr) Variable Function 170 63(tr): 62(ptr) Variable Function 171 79(Acc2x2): 78(ptr) Variable Function 172 90(Accu32): 89(ptr) Variable Function 173 104(Accs32): 103(ptr) Variable Function 174 112(Accf16): 51(ptr) Variable Function 175 122(Accf32): 121(ptr) Variable Function 176 138(mijm1): 137(ptr) Variable Function 177 146(index): 145(ptr) Variable Function 178 149(coord): 148(ptr) Variable Function 179 161(Bu8t): 160(ptr) Variable Function 180 166(Bs8t): 165(ptr) Variable Function 181 169(Bf16t): 62(ptr) Variable Function 182 194(Bs32t): 193(ptr) Variable Function 183 200(matAe5m2): 199(ptr) Variable Function 184 205(Au8t): 204(ptr) Variable Function 185 210(As8t): 209(ptr) Variable Function 186 215(Af16t): 214(ptr) Variable Function 187 238(As32t): 193(ptr) Variable Function 188 53: 50 Load 52(Acc) 189 54: 47 CooperativeMatrixConvertNV 53 190 Store 49(A) 54 191 59: 50 Load 52(Acc) 192 60: 56 CooperativeMatrixConvertNV 59 193 Store 58(B) 60 194 64: 50 Load 52(Acc) 195 65: 61 CooperativeMatrixConvertNV 64 196 Store 63(tr) 65 197 66: 50 Load 52(Acc) 198 69: 50 CooperativeMatrixReduceNV 66 1 24(combineSum(f161;f161;) 199 Store 52(Acc) 69 200 70: 50 Load 52(Acc) 201 72: 50 CooperativeMatrixReduceNV 70 2 24(combineSum(f161;f161;) 202 Store 52(Acc) 72 203 73: 50 Load 52(Acc) 204 75: 50 CooperativeMatrixReduceNV 73 3 24(combineSum(f161;f161;) 205 Store 52(Acc) 75 206 80: 50 Load 52(Acc) 207 82: 77 CooperativeMatrixReduceNV 80 4 28(combineMax(f161;f161;) 208 Store 79(Acc2x2) 82 209 83: 50 Load 52(Acc) 210 84: 50 CooperativeMatrixPerElementOpNV 83 12(relu(u1;u1;f161;) 211 Store 52(Acc) 84 212 85: 50 Load 52(Acc) 213 87: 50 CooperativeMatrixPerElementOpNV 85 19(add(u1;u1;f161;f161;) 86 214 Store 52(Acc) 87 215 91: 88 Load 90(Accu32) 216 94: 93 UConvert 91 217 95: 88 Load 90(Accu32) 218 98: 93 UConvert 95 219 99: 97 Bitcast 98 220 100: 88 Load 90(Accu32) 221 101: 47 ConvertUToF 100 222 105: 102 Load 104(Accs32) 223 106: 97 SConvert 105 224 107: 93 Bitcast 106 225 108: 102 Load 104(Accs32) 226 109: 97 SConvert 108 227 110: 102 Load 104(Accs32) 228 111: 47 ConvertSToF 110 229 113: 50 Load 112(Accf16) 230 114: 93 ConvertFToU 113 231 115: 50 Load 112(Accf16) 232 116: 97 ConvertFToS 115 233 117: 50 Load 112(Accf16) 234 118: 47 CooperativeMatrixConvertNV 117 235 123: 120 Load 122(Accf32) 236 124: 93 ConvertFToU 123 237 125: 120 Load 122(Accf32) 238 126: 97 ConvertFToS 125 239 127: 120 Load 122(Accf32) 240 128: 47 FConvert 127 241 129: 102 Load 104(Accs32) 242 131: 130 CooperativeMatrixConvertNV 129 243 132: 88 Load 90(Accu32) 244 134: 133 CooperativeMatrixConvertNV 132 245 Store 138(mijm1) 140 246 141: 47 Load 49(A) 247 142: 50 CooperativeMatrixConvertNV 141 248 Store 52(Acc) 142 249 143: 56 Load 58(B) 250 144: 50 CooperativeMatrixConvertNV 143 251 Store 52(Acc) 144 252 Store 146(index) 55 253 150: 47 Load 49(A) 254 151: 6(int) Load 146(index) 255 152: 147(ivec2) CooperativeMatrixGetCoordinateEXT 150 151 256 Store 149(coord) 152 257 153: 56 Load 58(B) 258 154: 6(int) Load 146(index) 259 155: 147(ivec2) CooperativeMatrixGetCoordinateEXT 153 154 260 Store 149(coord) 155 261 156: 50 Load 52(Acc) 262 157: 6(int) Load 146(index) 263 158: 147(ivec2) CooperativeMatrixGetCoordinateEXT 156 157 264 Store 149(coord) 158 265 162: 50 Load 112(Accf16) 266 163: 159 ConvertFToU 162 267 Store 161(Bu8t) 163 268 167: 50 Load 112(Accf16) 269 168: 164 ConvertFToS 167 270 Store 166(Bs8t) 168 271 170: 50 Load 112(Accf16) 272 171: 61 CooperativeMatrixConvertNV 170 273 Store 169(Bf16t) 171 274 172: 120 Load 122(Accf32) 275 173: 159 ConvertFToU 172 276 Store 161(Bu8t) 173 277 174: 120 Load 122(Accf32) 278 175: 164 ConvertFToS 174 279 Store 166(Bs8t) 175 280 176: 120 Load 122(Accf32) 281 177: 61 FConvert 176 282 Store 169(Bf16t) 177 283 178: 102 Load 104(Accs32) 284 179: 164 SConvert 178 285 180: 159 Bitcast 179 286 Store 161(Bu8t) 180 287 181: 102 Load 104(Accs32) 288 182: 164 SConvert 181 289 Store 166(Bs8t) 182 290 183: 102 Load 104(Accs32) 291 184: 61 ConvertSToF 183 292 Store 169(Bf16t) 184 293 185: 88 Load 90(Accu32) 294 186: 159 UConvert 185 295 Store 161(Bu8t) 186 296 187: 88 Load 90(Accu32) 297 188: 159 UConvert 187 298 189: 164 Bitcast 188 299 Store 166(Bs8t) 189 300 190: 88 Load 90(Accu32) 301 191: 61 ConvertUToF 190 302 Store 169(Bf16t) 191 303 195: 88 Load 90(Accu32) 304 196: 192 CooperativeMatrixConvertNV 195 305 Store 194(Bs32t) 196 306 201: 50 Load 112(Accf16) 307 202: 198 FConvert 201 308 Store 200(matAe5m2) 202 309 206: 50 Load 112(Accf16) 310 207: 203 ConvertFToU 206 311 Store 205(Au8t) 207 312 211: 50 Load 112(Accf16) 313 212: 208 ConvertFToS 211 314 Store 210(As8t) 212 315 216: 50 Load 112(Accf16) 316 217: 213 CooperativeMatrixConvertNV 216 317 Store 215(Af16t) 217 318 218: 120 Load 122(Accf32) 319 219: 203 ConvertFToU 218 320 Store 205(Au8t) 219 321 220: 120 Load 122(Accf32) 322 221: 208 ConvertFToS 220 323 Store 210(As8t) 221 324 222: 120 Load 122(Accf32) 325 223: 213 FConvert 222 326 Store 215(Af16t) 223 327 224: 102 Load 104(Accs32) 328 225: 208 SConvert 224 329 226: 203 Bitcast 225 330 Store 205(Au8t) 226 331 227: 102 Load 104(Accs32) 332 228: 208 SConvert 227 333 Store 210(As8t) 228 334 229: 102 Load 104(Accs32) 335 230: 213 ConvertSToF 229 336 Store 215(Af16t) 230 337 231: 88 Load 90(Accu32) 338 232: 203 UConvert 231 339 Store 205(Au8t) 232 340 233: 88 Load 90(Accu32) 341 234: 203 UConvert 233 342 235: 208 Bitcast 234 343 Store 210(As8t) 235 344 236: 88 Load 90(Accu32) 345 237: 213 ConvertUToF 236 346 Store 215(Af16t) 237 347 239: 88 Load 90(Accu32) 348 240: 192 CooperativeMatrixConvertNV 239 349 Store 238(As32t) 240 350 Return 351 FunctionEnd 35212(relu(u1;u1;f161;):7(float16_t) Function None 8 353 9(row): 6(int) FunctionParameter 354 10(col): 6(int) FunctionParameter 355 11(x):7(float16_t) FunctionParameter 356 13: Label 357 31:7(float16_t) ExtInst 1(GLSL.std.450) 40(FMax) 11(x) 30 358 ReturnValue 31 359 FunctionEnd 36019(add(u1;u1;f161;f161;):7(float16_t) Function None 14 361 15(row): 6(int) FunctionParameter 362 16(col): 6(int) FunctionParameter 363 17(x):7(float16_t) FunctionParameter 364 18(y):7(float16_t) FunctionParameter 365 20: Label 366 34:7(float16_t) FAdd 17(x) 18(y) 367 ReturnValue 34 368 FunctionEnd 36924(combineSum(f161;f161;):7(float16_t) Function None 21 370 22(a):7(float16_t) FunctionParameter 371 23(b):7(float16_t) FunctionParameter 372 25: Label 373 37:7(float16_t) FAdd 22(a) 23(b) 374 ReturnValue 37 375 FunctionEnd 37628(combineMax(f161;f161;):7(float16_t) Function None 21 377 26(a):7(float16_t) FunctionParameter 378 27(b):7(float16_t) FunctionParameter 379 29: Label 380 40:7(float16_t) ExtInst 1(GLSL.std.450) 40(FMax) 26(a) 27(b) 381 ReturnValue 40 382 FunctionEnd