Commit 03dc351
committed
Fix FlashAttentionDecodeSplitVx indirect dispatch input ordering
Move SetIndirectDispatchTensor after all AddInput calls to ensure the
indirect buffer is the last program input. When head_sink was added
after SetIndirectDispatchTensor, the shader variable types were
swapped, causing a u32*f16 WGSL compilation error.1 parent 722743c commit 03dc351
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
344 | 344 | | |
345 | 345 | | |
346 | 346 | | |
347 | | - | |
348 | | - | |
| 347 | + | |
349 | 348 | | |
350 | 349 | | |
351 | 350 | | |
352 | 351 | | |
353 | 352 | | |
354 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
| |||
0 commit comments