mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-03 21:21:22 +00:00
* adding compilation for multiple targets * fix build * clean * update Jekinsfile * update readme * update Jenkins * use ck::half_t instead of ushort for bf16 * rename enum classes * clean * rename * clean
24 lines
729 B
Markdown
24 lines
729 B
Markdown
# Instructions for ```example_gemm_xdl```
|
|
|
|
## Run ```example_gemm_xdl```
|
|
```bash
|
|
#arg1: verification (0=no, 1=yes)
|
|
#arg2: initialization (0=no init, 1=integer value, 2=decimal value)
|
|
#arg3: run kernel # of times (>1)
|
|
./bin/example_gemm_xdl 0 1 5
|
|
```
|
|
|
|
Result (MI100 @ 1087Mhz, 133.5TFlops peak FP16)
|
|
```
|
|
a_m_k: dim 2, lengths {3840, 4096}, strides {4096, 1}
|
|
b_k_n: dim 2, lengths {4096, 4096}, strides {1, 4096}
|
|
c_m_n: dim 2, lengths {3840, 4096}, strides {4096, 1}
|
|
arg.a_grid_desc_k0_m_k1_{512, 3840, 8}
|
|
arg.b_grid_desc_k0_n_k1_{512, 4096, 8}
|
|
arg.c_grid_desc_m_n_{ 3840, 4096}
|
|
launch_and_time_kernel: grid_dim {480, 1, 1}, block_dim {256, 1, 1}
|
|
Warm up
|
|
Start running 5 times...
|
|
Perf: 1.19685 ms, 107.657 TFlops, 78.8501 GB/s
|
|
```
|