Skip to content

Commit 8fb4c2a

Browse files
authored
Merge pull request #32 from amd/fix-examples-dashboard
Fix examples dashboard registry for renamed matmul directories
2 parents 9c26e63 + 0f26809 commit 8fb4c2a

2 files changed

Lines changed: 21 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ Please make sure to run `source {path_to_xrt}/setup.sh` before running examples.
114114
The test also depends on PyTorch as CPU reference.
115115

116116
```
117-
cd examples/matmul
118-
AIR_TRANSFORM_TILING_SCRIPT=transform_aie2.mlir python matmul.py
117+
cd examples/matmul_bf16_m64_n64_k64
118+
AIR_TRANSFORM_TILING_SCRIPT=transform_aie2.mlir python matmul_bf16_m64_n64_k64.py
119119
```
120120

121121
**Note:** The `transform_aie2.mlir` transform dialect IR is specifically designed for the AIE2 architecture. For AIE2P architecture, use `transform_aie2p.mlir` instead.

examples/generate_readme.py

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,28 @@
2828
EXAMPLES = [
2929
{
3030
"category": "Matrix",
31-
"name": "Matrix Multiplication",
32-
"path": "matmul",
31+
"name": "Matrix Multiplication (BF16)",
32+
"path": "matmul_bf16_m64_n64_k64",
3333
"datatypes": "bf16",
3434
},
3535
{
3636
"category": "Matrix",
37-
"name": "Padded Matrix Multiplication",
38-
"path": "padded_matmul",
37+
"name": "Padded Matrix Multiplication (F32, A Transposed)",
38+
"path": "matmul_f32_m64_n32_k16_padded_atransposed",
3939
"datatypes": "f32 (bf16 emulation)",
4040
},
41+
{
42+
"category": "Matrix",
43+
"name": "Matrix Multiplication (INT8)",
44+
"path": "matmul_i8_m64_n64_k64",
45+
"datatypes": "i8",
46+
},
47+
{
48+
"category": "Matrix",
49+
"name": "Matrix Multiplication (INT8, Large Tile)",
50+
"path": "matmul_i8_m128_n64_k64",
51+
"datatypes": "i8",
52+
},
4153
{
4254
"category": "Matrix",
4355
"name": "Matrix Multiplication (Autotune)",
@@ -214,11 +226,11 @@ def generate_readme(base_url=""):
214226
source /opt/xilinx/xrt/setup.sh
215227
216228
# Run an example on AIE2 (NPU1):
217-
cd matmul
218-
AIR_TRANSFORM_TILING_SCRIPT=transform_aie2.mlir python matmul.py
229+
cd matmul_bf16_m64_n64_k64
230+
AIR_TRANSFORM_TILING_SCRIPT=transform_aie2.mlir python matmul_bf16_m64_n64_k64.py
219231
220232
# Run on AIE2P (NPU2):
221-
AIR_TRANSFORM_TILING_SCRIPT=transform_aie2p.mlir python matmul.py
233+
AIR_TRANSFORM_TILING_SCRIPT=transform_aie2p.mlir python matmul_bf16_m64_n64_k64.py
222234
```
223235
224236
## Running All Tests

0 commit comments

Comments
 (0)