Skip to content

Commit

Permalink
[Doc] update codes in sgemm with double buffering
Browse files Browse the repository at this point in the history
  • Loading branch information
AndSonder committed Feb 22, 2024
1 parent 5f8f30c commit c498526
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/11_gemm_optimize/04_double_buffer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ for (uint bk_idx = 0; bk_idx < K; bk_idx += BK)
B += BK * N;

// 原来的同步就不要了
...

write_index = 1 - write_index; // 切换读写指针
}
```
Expand Down

0 comments on commit c498526

Please sign in to comment.