Commit d9b6860
committed
vulkan: fix matmul pipeline selection for small n values
Change mul_mat and mul_mat_id pipeline selection heuristic to prevent
Intel Arc GPU hangs.
The previous logic would select the small pipeline (mul_mat_id_s) when
one dimension was small, causing hangs on Intel Arc when, e.g. m=512
and n=23 as it happens with IBM Granite 4.
Signed-off-by: Giuseppe Scrivano <[email protected]>1 parent 0e4a0cf commit d9b6860
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5826 | 5826 | | |
5827 | 5827 | | |
5828 | 5828 | | |
5829 | | - | |
| 5829 | + | |
5830 | 5830 | | |
5831 | 5831 | | |
5832 | | - | |
| 5832 | + | |
5833 | 5833 | | |
5834 | 5834 | | |
5835 | 5835 | | |
| |||
5892 | 5892 | | |
5893 | 5893 | | |
5894 | 5894 | | |
5895 | | - | |
| 5895 | + | |
5896 | 5896 | | |
5897 | 5897 | | |
5898 | | - | |
| 5898 | + | |
5899 | 5899 | | |
5900 | 5900 | | |
5901 | 5901 | | |
| |||
0 commit comments