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
3 changes: 2 additions & 1 deletion docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@
titleEn: "Convolution Vectorization",
desc: "卷积向量化相关文档",
descEn: "Convolution vectorization documentation",
markdownUrl: "docs/compiler/ConvolutionVectorization.md"
markdownUrl: "docs/compiler/ConvolutionVectorization.md",
bodyOnly: true
},
"triton-on-riscv": {
title: "Triton 的 RISC-V 适配",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/compiler/ConvolutionVectorization.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Let’s first introduce the MLIR dialects and operations that are needed by the
- `vector.broadcast`: broadcasts a scalar or vector value to an n-D result vector.
- `vector.fma`: performs fused multiply-add (FMA) on the vector type.

![Graph of the Coefficients Broadcasting Algorithm](./Images/CoefficientsBroadcasting.png)
![Graph of the Coefficients Broadcasting Algorithm](/docs/compiler/ConvolutionVectorization-CoefficientsBroadcasting.png)

The figure shows the steps of the algorithm:
- Iterate over each kernel element and broadcast it to vector1.
Expand Down
2 changes: 1 addition & 1 deletion docs/compiler/ConvolutionVectorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- `vector.broadcast`:将标量或向量广播为 n 维结果向量。
- `vector.fma`:执行向量融合乘加(FMA)运算。

![Graph of the Coefficients Broadcasting Algorithm](./Images/CoefficientsBroadcasting.png)
![Graph of the Coefficients Broadcasting Algorithm](/docs/compiler/ConvolutionVectorization-CoefficientsBroadcasting.png)

上图展示了算法流程:

Expand Down
Loading