Debian Codegraph @

tensilelite/Tensile/Tests/common/gemm/swizzleA.yaml

raw symbols SCIP
1 TestParameters:
2 marks: [skip-gfx900, skip-gfx906, skip-gfx908, skip-gfx90a, skip-gfx950, skip-gfx1010, skip-gfx1011, skip-gfx1012, skip-gfx1030, skip-gfx1100, skip-gfx1101, skip-gfx1102, skip-gfx1200, skip-gfx1201] # not supported by arch
3
4 GlobalParameters:
5 NumElementsToValidate: -1
6 MinimumRequiredVersion: 5.0.0
7 PrintLevel: 1
8 #PrintSolutionRejectionReason: True
9 Device: 0
10 CMakeBuildType: Release
11 KernelTime: True
12 MaxWorkspaceSize: 13421772800
13 DataInitTypeA: 13
14 DataInitTypeB: 12
15 DataInitTypeAlpha: 1
16 DataInitTypeBeta: 1
17 DataInitTypeBias: 13
18 DataInitTypeScaleAlphaVec: 12
19 BoundsCheck: 2
20 #MaxFileName: 256
21
22 BenchmarkProblems:
23 ########################################
24 # HHS TN SWIZZLED_A + BIAS + Activation + SAV
25 ########################################
26 -
27 - # ProblemType
28 OperationType: GEMM
29 DataType: h
30 DestDataType: h
31 ComputeDataType: s
32 HighPrecisionAccumulate: True
33 TransposeA: 1
34 TransposeB: 0
35 SwizzleTensorA: True
36 UseBeta: True
37 Batched: True
38 UseBias: 1
39 Activation: True
40 BiasDataTypeList: ['h']
41 UseScaleAlphaVec: 1
42 - # BenchmarkProblemSizeGroup - Standard - All problem
43 InitialSolutionParameters:
44 BenchmarkCommonParameters:
45 - KernelLanguage: ["Assembly"]
46 ForkParameters:
47 - MatrixInstruction:
48 - [16, 16, 16, 1, 1, 2, 8, 4,1 ] # MT = 128x128
49 - [16, 16, 16, 1, 1, 2, 16, 4,1 ] # MT = 128x256
50 - [16, 16, 16, 1, 1, 4, 8, 4,1 ] # MT = 256x128
51 - [16, 16, 16, 1, 1, 4, 16, 4,1 ] # MT = 256x256
52 - [16, 16, 16, 1, 1, 8, 8, 4,1 ] # MT = 512x128
53 - [16, 16, 16, 1, 1, 8, 16, 4,1 ] # MT = 512x256
54 - [16, 16, 16, 1, 1, 5, 8, 2,1 ] # MT = 160x128
55
56 - [16, 16, 16, 1, 1, 2, 4, 2,2 ] # MT = 64x128
57 - [16, 16, 16, 1, 1, 2, 8, 2,2 ] # MT = 64x256
58 - [16, 16, 16, 1, 1, 4, 4, 2,2 ] # MT = 128x128
59 - [16, 16, 16, 1, 1, 4, 8, 2,2 ] # MT = 128x256
60 - [16, 16, 16, 1, 1, 8, 4, 2,2 ] # MT = 256x128
61 - [16, 16, 16, 1, 1, 8, 8, 2,2 ] # MT = 256x256
62 - [16, 16, 16, 1, 1, 16, 4, 2,2 ] # MT = 512x128
63 - [16, 16, 16, 1, 1, 16, 8, 2,2 ] # MT = 512x256
64 - [16, 16, 16, 1, 1, 5, 4, 2,2 ] # MT = 160x128
65 - WorkGroup:
66 - [16, 16, 1] # LSU=1, minDU=32
67 - [16, 16, 2] # LSU=2, minDU=64
68 - [16, 16, 4] # LSU=4, minDU=128
69 - GlobalReadVectorWidthA: [8]
70 - GlobalReadVectorWidthB: [-1]
71 - PrefetchGlobalRead: [1,2]
72 - PrefetchLocalRead: [1,4]
73 - ClusterLocalRead: [1]
74 - NumElementsPerBatchStore: [0]
75 - DepthU: [32,64,128]
76 - VectorWidthA: [1]
77 - VectorWidthB: [-1]
78 - LocalWritePerMfma: [-1]
79 - StaggerU: [4]
80 - StaggerUStride: [256]
81 - StaggerUMapping: [0]
82 - WorkGroupMappingXCC: [8]
83 - ScheduleIterAlg: [3]
84 - LdsBlockSizePerPadA: [-1]
85 - LdsBlockSizePerPadB: [-1]
86 - StorePriorityOpt: [0]
87 - VectorStore: [-1]
88 - StoreSyncOpt: [0]
89 - LdsPadA: [-1]
90 - LdsPadB: [-1]
91 - 1LDSBuffer: [1]
92 - GlobalSplitU: [1,3]
93 - GlobalSplitUAlgorithm: ["MultipleBuffer", "MultipleBufferSingleKernel"]
94 - LocalReadVectorWidth: [2,4,8]
95 - DirectToVgprA: [1]
96 - UseSgprForGRO: [0,1]
97 BenchmarkJoinParameters:
98 BenchmarkFinalParameters:
99 - ProblemSizes:
100 - Exact: [160, 256, 1, 224]
101 - Exact: [160, 256, 1, 256]
102 - Exact: [160, 256, 1, 288]
103 - Exact: [1600, 512, 1, 992]
104 - Exact: [1600, 512, 1, 1024]
105 - Exact: [1600, 512, 1, 1056]
106 - Exact: [512, 256, 1, 224]
107 - Exact: [512, 256, 1, 256]
108 - Exact: [512, 256, 1, 288]
109 - Exact: [127, 127, 1, 127]
110 - Exact: [128, 127, 1, 127]
111 - Exact: [127, 128, 1, 127]
112 - Exact: [1, 127, 1, 127]
113 - Exact: [127, 1, 1, 127]
114 - BiasTypeArgs: ['h']
115 - ActivationArgs:
116 - [Enum: relu]
117
118 ########################################
119 # HSS TN SWIZZLED_A
120 ########################################
121 -
122 - # ProblemType
123 OperationType: GEMM
124 DataType: h
125 DestDataType: s
126 ComputeDataType: s
127 HighPrecisionAccumulate: True
128 TransposeA: 1
129 TransposeB: 0
130 SwizzleTensorA: True
131 UseBeta: True
132 Batched: True
133 - # BenchmarkProblemSizeGroup - Standard - All problem
134 InitialSolutionParameters:
135 BenchmarkCommonParameters:
136 - KernelLanguage: ["Assembly"]
137 ForkParameters:
138 - MatrixInstruction:
139 - [16, 16, 16, 1, 1, 1, 8, 4,1 ] # MT = 64x128
140 - [16, 16, 16, 1, 1, 1, 16, 4,1 ] # MT = 64x256
141 - [16, 16, 16, 1, 1, 2, 8, 4,1 ] # MT = 128x128
142 - [16, 16, 16, 1, 1, 2, 16, 4,1 ] # MT = 128x256
143
144 - [16, 16, 16, 1, 1, 2, 4, 2,2 ] # MT = 64x128
145 - [16, 16, 16, 1, 1, 2, 8, 2,2 ] # MT = 64x256
146 - [16, 16, 16, 1, 1, 4, 4, 2,2 ] # MT = 128x128
147 - WorkGroup:
148 - [16, 16, 1] # LSU=1, minDU=32
149 - [16, 16, 2] # LSU=2, minDU=64
150 - GlobalReadVectorWidthA: [8]
151 - GlobalReadVectorWidthB: [-1]
152 - PrefetchGlobalRead: [2]
153 - PrefetchLocalRead: [1]
154 - ClusterLocalRead: [1]
155 - NumElementsPerBatchStore: [0]
156 - DepthU: [32,64]
157 - VectorWidthA: [1,2]
158 - VectorWidthB: [-1]
159 - LocalWritePerMfma: [-1]
160 - StaggerU: [4]
161 - StaggerUStride: [256]
162 - StaggerUMapping: [0]
163 - WorkGroupMappingXCC: [8]
164 - ScheduleIterAlg: [3]
165 - LdsBlockSizePerPadA: [-1]
166 - LdsBlockSizePerPadB: [-1]
167 - StorePriorityOpt: [0]
168 - VectorStore: [-1]
169 - StoreSyncOpt: [0]
170 - LdsPadA: [-1]
171 - LdsPadB: [-1]
172 - 1LDSBuffer: [1]
173 - GlobalSplitU: [1,3]
174 - GlobalSplitUAlgorithm: ["MultipleBuffer"]
175 - LocalReadVectorWidth: [2,4,8]
176 - DirectToVgprA: [1]
177 - UseSgprForGRO: [0,1]
178 BenchmarkJoinParameters:
179 BenchmarkFinalParameters:
180 - ProblemSizes:
181 - Exact: [160, 256, 1, 224]
182 - Exact: [160, 256, 1, 256]
183 - Exact: [160, 256, 1, 288]
184 - Exact: [127, 127, 1, 127]
185 - Exact: [128, 127, 1, 127]
186 - Exact: [1, 127, 1, 127]
187 - Exact: [127, 1, 1, 127]
188
189 ########################################
190 # BBS TN SWIZZLED_A
191 ########################################
192 -
193 - # ProblemType
194 OperationType: GEMM
195 DataType: b
196 DestDataType: b
197 ComputeDataType: s
198 HighPrecisionAccumulate: True
199 TransposeA: 1
200 TransposeB: 0
201 SwizzleTensorA: True
202 UseBeta: True
203 Batched: True
204 - # BenchmarkProblemSizeGroup - Standard - All problem
205 InitialSolutionParameters:
206 BenchmarkCommonParameters:
207 - KernelLanguage: ["Assembly"]
208 ForkParameters:
209 - MatrixInstruction:
210 - [16, 16, 16, 1, 1, 1, 8, 4,1 ] # MT = 64x128
211 - [16, 16, 16, 1, 1, 1, 16, 4,1 ] # MT = 64x256
212 - [16, 16, 16, 1, 1, 2, 8, 4,1 ] # MT = 128x128
213 - [16, 16, 16, 1, 1, 2, 16, 4,1 ] # MT = 128x256
214
215 - [16, 16, 16, 1, 1, 2, 4, 2,2 ] # MT = 64x128
216 - [16, 16, 16, 1, 1, 2, 8, 2,2 ] # MT = 64x256
217 - [16, 16, 16, 1, 1, 4, 4, 2,2 ] # MT = 128x128
218 - WorkGroup:
219 - [16, 16, 1] # LSU=1, minDU=32
220 - [16, 16, 2] # LSU=2, minDU=64
221 - GlobalReadVectorWidthA: [8]
222 - GlobalReadVectorWidthB: [-1]
223 - PrefetchGlobalRead: [2]
224 - PrefetchLocalRead: [1]
225 - ClusterLocalRead: [1]
226 - NumElementsPerBatchStore: [0]
227 - DepthU: [32,64]
228 - VectorWidthA: [1,2]
229 - VectorWidthB: [-1]
230 - LocalWritePerMfma: [-1]
231 - StaggerU: [4]
232 - StaggerUStride: [256]
233 - StaggerUMapping: [0]
234 - WorkGroupMappingXCC: [8]
235 - ScheduleIterAlg: [3]
236 - LdsBlockSizePerPadA: [-1]
237 - LdsBlockSizePerPadB: [-1]
238 - StorePriorityOpt: [0]
239 - VectorStore: [-1]
240 - StoreSyncOpt: [0]
241 - LdsPadA: [-1]
242 - LdsPadB: [-1]
243 - 1LDSBuffer: [1]
244 - GlobalSplitU: [1,3]
245 - GlobalSplitUAlgorithm: ["MultipleBuffer"]
246 - LocalReadVectorWidth: [2,4,8]
247 - DirectToVgprA: [1]
248 - UseSgprForGRO: [0,1]
249 BenchmarkJoinParameters:
250 BenchmarkFinalParameters:
251 - ProblemSizes:
252 - Exact: [160, 256, 1, 224]
253 - Exact: [160, 256, 1, 256]
254 - Exact: [160, 256, 1, 288]
255 - Exact: [127, 127, 1, 127]
256 - Exact: [128, 127, 1, 127]
257 - Exact: [1, 127, 1, 127]
258 - Exact: [127, 1, 1, 127]
259
260 ########################################
261 # F8B8NHS TN SWIZZLED_A
262 ########################################
263 -
264 - # ProblemType
265 OperationType: GEMM
266 DataType: F8B8N
267 DestDataType: h
268 ComputeDataType: s
269 HighPrecisionAccumulate: True
270 TransposeA: 1
271 TransposeB: 0
272 SwizzleTensorA: True
273 UseBeta: True
274 Batched: True
275 - # BenchmarkProblemSizeGroup - Standard - All problem
276 InitialSolutionParameters:
277 BenchmarkCommonParameters:
278 - KernelLanguage: ["Assembly"]
279 ForkParameters:
280 - MatrixInstruction:
281 - [16, 16, 32, 1, 1, 1, 8, 4,1 ] # MT = 64x128
282 - [16, 16, 32, 1, 1, 1, 16, 4,1 ] # MT = 64x256
283 - [16, 16, 32, 1, 1, 2, 8, 4,1 ] # MT = 128x128
284 - [16, 16, 32, 1, 1, 2, 16, 4,1 ] # MT = 128x256
285
286 - [16, 16, 32, 1, 1, 16, 4, 2,2 ] # MT = 512x128
287 - [16, 16, 32, 1, 1, 16, 8, 2,2 ] # MT = 512x256
288 - [16, 16, 32, 1, 1, 5, 4, 2,2 ] # MT = 160x128
289 - WorkGroup:
290 - [16, 16, 1] # LSU=1, minDU=64
291 - [16, 16, 2] # LSU=2, minDU=128
292 - GlobalReadVectorWidthA: [16]
293 - GlobalReadVectorWidthB: [-1]
294 - PrefetchGlobalRead: [2]
295 - PrefetchLocalRead: [1]
296 - ClusterLocalRead: [1]
297 - NumElementsPerBatchStore: [0]
298 - DepthU: [64,128]
299 - VectorWidthA: [1,4]
300 - VectorWidthB: [-1]
301 - LocalWritePerMfma: [-1]
302 - StaggerU: [4]
303 - StaggerUStride: [256]
304 - StaggerUMapping: [0]
305 - WorkGroupMappingXCC: [8]
306 - ScheduleIterAlg: [3]
307 - LdsBlockSizePerPadA: [-1]
308 - LdsBlockSizePerPadB: [-1]
309 - StorePriorityOpt: [0]
310 - VectorStore: [-1]
311 - StoreSyncOpt: [0]
312 - LdsPadA: [-1]
313 - LdsPadB: [-1]
314 - 1LDSBuffer: [1]
315 - GlobalSplitU: [1,3]
316 - GlobalSplitUAlgorithm: ["MultipleBuffer"]
317 - LocalReadVectorWidth: [16]
318 - DirectToVgprA: [1]
319 - UseSgprForGRO: [0,1]
320 BenchmarkJoinParameters:
321 BenchmarkFinalParameters:
322 - ProblemSizes:
323 - Exact: [160, 256, 1, 224]
324 - Exact: [160, 256, 1, 256]
325 - Exact: [160, 256, 1, 288]
326 - Exact: [127, 127, 1, 127]
327 - Exact: [128, 127, 1, 127]
328 - Exact: [1, 127, 1, 127]
329 - Exact: [127, 1, 1, 127]
330
331 ########################################
332 # XFloat TN SWIZZLED_A
333 ########################################
334 -
335 - # ProblemType
336 OperationType: GEMM
337 DataType: s
338 DestDataType: s
339 ComputeDataType: s
340 F32XdlMathOp: X
341 HighPrecisionAccumulate: False
342 TransposeA: 1
343 TransposeB: 0
344 SwizzleTensorA: True
345 UseBeta: True
346 Batched: True
347 - # BenchmarkProblemSizeGroup - Standard - All problem
348 InitialSolutionParameters:
349 BenchmarkCommonParameters:
350 - KernelLanguage: ["Assembly"]
351 ForkParameters:
352 - MatrixInstruction:
353 - [16, 16, 8, 1, 1, 4, 16, 4,1 ] # MT = 256x256
354 - [16, 16, 8, 1, 1, 8, 8, 4,1 ] # MT = 512x128
355 - [16, 16, 8, 1, 1, 8, 16, 4,1 ] # MT = 512x256
356 - [16, 16, 8, 1, 1, 5, 8, 2, 1 ] # MT = 160x128
357
358 - [16, 16, 8, 1, 1, 4, 8, 2,2 ] # MT = 128x256
359 - [16, 16, 8, 1, 1, 8, 4, 2,2 ] # MT = 256x128
360 - [16, 16, 8, 1, 1, 8, 8, 2,2 ] # MT = 256x256
361 - WorkGroup:
362 - [16, 16, 1] # LSU=1, minDU=16
363 - [16, 16, 2] # LSU=2, minDU=32
364 - [16, 16, 4] # LSU=4, minDU=64
365 - GlobalReadVectorWidthA: [4]
366 - GlobalReadVectorWidthB: [-1]
367 - PrefetchGlobalRead: [2]
368 - PrefetchLocalRead: [1]
369 - ClusterLocalRead: [1]
370 - NumElementsPerBatchStore: [0]
371 - DepthU: [32,64]
372 - VectorWidthA: [1,8]
373 - VectorWidthB: [-1]
374 - LocalWritePerMfma: [-1]
375 - StaggerU: [4]
376 - StaggerUStride: [256]
377 - StaggerUMapping: [0]
378 - WorkGroupMappingXCC: [8]
379 - ScheduleIterAlg: [3]
380 - LdsBlockSizePerPadA: [-1]
381 - LdsBlockSizePerPadB: [-1]
382 - StorePriorityOpt: [0]
383 - VectorStore: [-1]
384 - StoreSyncOpt: [0]
385 - LdsPadA: [-1]
386 - LdsPadB: [-1]
387 - 1LDSBuffer: [1]
388 - GlobalSplitU: [1,3]
389 - GlobalSplitUAlgorithm: ["MultipleBuffer"]
390 - LocalReadVectorWidth: [2,4,8]
391 - DirectToVgprA: [1]
392 - UseSgprForGRO: [0,1]
393 BenchmarkJoinParameters:
394 BenchmarkFinalParameters:
395 - ProblemSizes:
396 - Exact: [160, 256, 1, 224]
397 - Exact: [160, 256, 1, 256]
398 - Exact: [160, 256, 1, 288]
399 - Exact: [127, 127, 1, 127]
400 - Exact: [128, 127, 1, 127]
401 - Exact: [1, 127, 1, 127]
402 - Exact: [127, 1, 1, 127]
403
404 ########################################
405 # SSS TN SWIZZLED_A
406 ########################################
407 -
408 - # ProblemType
409 OperationType: GEMM
410 DataType: s
411 DestDataType: s
412 ComputeDataType: s
413 HighPrecisionAccumulate: False
414 TransposeA: 1
415 TransposeB: 0
416 SwizzleTensorA: True
417 UseBeta: True
418 Batched: True
419 - # BenchmarkProblemSizeGroup - Standard - All problem
420 InitialSolutionParameters:
421 BenchmarkCommonParameters:
422 - KernelLanguage: ["Assembly"]
423 ForkParameters:
424 - MatrixInstruction:
425 - [16, 16, 4, 1, 1, 2, 8, 4,1 ] # MT = 128x128
426 - [16, 16, 4, 1, 1, 2, 16, 4,1 ] # MT = 128x256
427 - [16, 16, 4, 1, 1, 4, 8, 4,1 ] # MT = 256x128
428 - [16, 16, 4, 1, 1, 4, 16, 4,1 ] # MT = 256x256
429
430 - [16, 16, 4, 1, 1, 16, 4, 2,2 ] # MT = 512x128
431 - [16, 16, 4, 1, 1, 16, 8, 2,2 ] # MT = 512x256
432 - [16, 16, 4, 1, 1, 5, 4, 2,2 ] # MT = 160x128
433 - WorkGroup:
434 - [16, 16, 1] # LSU=1, minDU=16
435 - [16, 16, 2] # LSU=2, minDU=32
436 - [16, 16, 4] # LSU=4, minDU=64
437 - GlobalReadVectorWidthA: [4]
438 - GlobalReadVectorWidthB: [-1]
439 - PrefetchGlobalRead: [2]
440 - PrefetchLocalRead: [1]
441 - ClusterLocalRead: [1]
442 - NumElementsPerBatchStore: [0]
443 - DepthU: [32,64]
444 - VectorWidthA: [1,2]
445 - VectorWidthB: [-1]
446 - LocalWritePerMfma: [-1]
447 - StaggerU: [4]
448 - StaggerUStride: [256]
449 - StaggerUMapping: [0]
450 - WorkGroupMappingXCC: [8]
451 - ScheduleIterAlg: [3]
452 - LdsBlockSizePerPadA: [-1]
453 - LdsBlockSizePerPadB: [-1]
454 - StorePriorityOpt: [0]
455 - VectorStore: [-1]
456 - StoreSyncOpt: [0]
457 - LdsPadA: [-1]
458 - LdsPadB: [-1]
459 - 1LDSBuffer: [1]
460 - GlobalSplitU: [1,3]
461 - GlobalSplitUAlgorithm: ["MultipleBuffer"]
462 - LocalReadVectorWidth: [2,4,8]
463 - DirectToVgprA: [1]
464 - UseSgprForGRO: [0,1]
465 BenchmarkJoinParameters:
466 BenchmarkFinalParameters:
467 - ProblemSizes:
468 - Exact: [160, 256, 1, 224]
469 - Exact: [160, 256, 1, 256]
470 - Exact: [160, 256, 1, 288]
471 - Exact: [127, 127, 1, 127]
472 - Exact: [128, 127, 1, 127]
473 - Exact: [1, 127, 1, 127]
474 - Exact: [127, 1, 1, 127]