Skip to content
Open
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
4 changes: 2 additions & 2 deletions chapter-07/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ This brings us to the total of:

We need to run a block for each output tile. So we run

`[(N + T - 1)/1, (N + T - 1)/1]` blocks.
`[(N + T - 1)/T, (N + T - 1)/T]` blocks.

**b. How many threads are needed per block?**

Expand All @@ -244,7 +244,7 @@ Each block needs `IN_TILE x IN_TILE x 4 bytes` for shared memory, so `(T + (M-1)

Each output tile will have its own block, so for the grid size, nothing changes:

`[(N + T - 1)/1, (N + T - 1)/1]`
`[(N + T - 1)/T, (N + T - 1)/T]`

But now each block will be of size `T x T`.

Expand Down