mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-07-03 05:37:34 +00:00
Updates based on PR feedback 1
This commit is contained in:
@@ -150,7 +150,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/01_gemm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -32,7 +32,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/02_gemm_add_add_fastgelu
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -25,7 +25,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/03_gemm_layernorm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -21,7 +21,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/04_contraction
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -26,7 +26,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/05_layernorm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -26,7 +26,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/06_softmax
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -89,7 +89,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/07_grouped_convnd_fwd
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -36,7 +36,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/08_fused_attention
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -25,7 +25,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/09_quantization
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -71,7 +71,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/10_grouped_convnd_bwd_data
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -86,7 +86,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/11_grouped_conv_bwd_weight
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -26,7 +26,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/12_elementwise_normalization
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -26,7 +26,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/13_batchnorm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -20,7 +20,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/14_instance_id
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -25,7 +25,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/15_convnd_bwd_data
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -25,7 +25,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/16_convnd_fwd
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -28,7 +28,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/17_grouped_gemm_fastgelu
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -29,7 +29,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/18_groupnorm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -23,7 +23,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/19_pool
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -24,7 +24,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/20_splitk_gemm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -22,7 +22,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/21_grouped_gemm_bias
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -21,7 +21,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/22_grouped_gemm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -22,7 +22,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/23_elementwise_transpose
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -23,7 +23,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/24_grouped_conv_activation
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -8,7 +8,7 @@ This tutorial demonstrates how to implement matrix multiplication (GEMM) using t
|
||||
|
||||
## How to Run
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/25_wrapper
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -22,7 +22,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/26_reduce
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -21,7 +21,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/27_im2col_col2im
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -10,7 +10,7 @@ make -j
|
||||
make install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
/opt/rocm/bin/hipcc gemm_mx_fp8.cpp -o gemm_mx_fp8
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/29_gemm_add_multiply
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -28,7 +28,7 @@ make -j
|
||||
make install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/30_gemm_bf16Aint8B
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -29,7 +29,7 @@ make -j
|
||||
make install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/client_example/31_grouped_gemm_bf16Aint8B
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -169,7 +169,7 @@ Split-K is supported (requires zeroing output buffer if splitK > 1).
|
||||
|
||||
## How to Run
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
|
||||
```bash
|
||||
cd composable_kernel/example/01_gemm
|
||||
|
||||
@@ -58,7 +58,7 @@ CK provides a composable API for GEMM with multiple auxiliary tensors via the `D
|
||||
|
||||
## How to Run
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
|
||||
```bash
|
||||
cd composable_kernel/example/02_gemm_bilinear
|
||||
|
||||
@@ -19,7 +19,7 @@ $$
|
||||
|
||||
## How to Run
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/03_gemm_bias_relu
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -32,7 +32,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/04_gemm_add_add_fastgelu
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -29,7 +29,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/09_convnd_fwd
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -24,7 +24,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/10_convnd_fwd_multiple_d_multiple_reduce
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -24,7 +24,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/11_convnd_fwd_bias
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -25,7 +25,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/12_reduce
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -27,7 +27,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/13_pool2d_fwd
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -23,7 +23,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/14_gemm_quantization
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -26,7 +26,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/15_grouped_gemm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -23,7 +23,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/16_gemm_multi_d_multi_reduces
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -24,7 +24,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/21_gemm_layernorm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -25,7 +25,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/23_softmax
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -26,7 +26,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/24_batched_gemm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -23,7 +23,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/25_gemm_bias_e_permute
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -26,7 +26,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/27_layernorm2d_fwd
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -24,7 +24,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/32_batched_gemm_scale_softmax_gemm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -26,7 +26,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/34_batchnorm
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -22,7 +22,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/39_permute
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -24,7 +24,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/40_conv2d_fwd_quantization
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -22,7 +22,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/44_elementwise_permute
|
||||
mkdir build && cd build
|
||||
|
||||
@@ -23,7 +23,7 @@ cd composable_kernel/build
|
||||
make -j install
|
||||
```
|
||||
|
||||
### Build and Execute
|
||||
### Build and run
|
||||
```bash
|
||||
cd composable_kernel/example/46_gemm_add_multiply
|
||||
mkdir build && cd build
|
||||
|
||||
Reference in New Issue
Block a user