Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ Softmax becomes a two-pass over a wider buffer, which is why that kernel is
rewritten rather than adjusted.

`N_UNROLL` is a `#define` at the top of the orchestration source, currently
**64**. (The file's header comment still says `N_UNROLL=8`; the `#define` is
what takes effect.)
**64**.

Dependencies are declared explicitly inside
`PTO2_SCOPE(PTO2ScopeMode::MANUAL)`, using the primitive
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* -----------------------------------------------------------------------------------------------------------
*/
/**
* Paged Attention Orchestration Function V2 - N_UNROLL=8, 4 Tasks Per Group
* Paged Attention Orchestration Function V2 - 4 Tasks Per Group
*
* Batches up to N_UNROLL blocks per group. Each group submits exactly 4 tasks:
* 1. QK matmul: qi @ K^T for n_blocks → sij_buf (q_tile, n_blocks * block_size)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* -----------------------------------------------------------------------------------------------------------
*/
/**
* Paged Attention Orchestration Function V2 - N_UNROLL=8, 4 Tasks Per Group
* Paged Attention Orchestration Function V2 - 4 Tasks Per Group
*
* Batches up to N_UNROLL blocks per group. Each group submits exactly 4 tasks:
* 1. QK matmul: qi @ K^T for n_blocks -> sij_buf (q_tile, n_blocks * block_size)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* -----------------------------------------------------------------------------------------------------------
*/
/**
* Paged Attention Orchestration Function V2 - N_UNROLL=8, 4 Tasks Per Group
* Paged Attention Orchestration Function V2 - 4 Tasks Per Group
*
* Batches up to N_UNROLL blocks per group. Each group submits exactly 4 tasks:
* 1. QK matmul: qi @ K^T for n_blocks → sij_buf (q_tile, n_blocks * block_size)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* -----------------------------------------------------------------------------------------------------------
*/
/**
* Paged Attention Orchestration Function V2 - N_UNROLL=8, 4 Tasks Per Group
* Paged Attention Orchestration Function V2 - 4 Tasks Per Group
*
* Batches up to N_UNROLL blocks per group. Each group submits exactly 4 tasks:
* 1. QK matmul: qi @ K^T for n_blocks → sij_buf (q_tile, n_blocks * block_size)
Expand Down
Loading