Commit a9e7448
authored
[GPU] correct SDPA micro prefetch bounds (#36808)
Use value-based prefetch guards so zero-valued JIT macros actually
disable prefetch blocks, and keep the optimized first-K prefetch range
while restoring the expected r/c orientation for
cooperative_prefetch_2d_k.
This avoids BMG CL_OUT_OF_RESOURCES in the GenAI llama benchmark while
preserving the reduced K range optimization.
### Tickets:
- CVS-190364
- CVS-190396
### AI Assistance:
- AI assistance used: yes
- AI: find a root-cause, fix
- User: review1 parent 69fa6d8 commit a9e7448
1 file changed
Lines changed: 5 additions & 5 deletions
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
504 | | - | |
| 504 | + | |
505 | 505 | | |
506 | 506 | | |
507 | 507 | | |
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
514 | | - | |
| 513 | + | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| |||
851 | 851 | | |
852 | 852 | | |
853 | 853 | | |
854 | | - | |
| 854 | + | |
855 | 855 | | |
856 | 856 | | |
857 | 857 | | |
| |||
990 | 990 | | |
991 | 991 | | |
992 | 992 | | |
993 | | - | |
| 993 | + | |
994 | 994 | | |
995 | 995 | | |
996 | 996 | | |
| |||
0 commit comments