Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
7b24b5f0
Unverified
Commit
7b24b5f0
authored
Dec 02, 2021
by
Chao Liu
Committed by
GitHub
Dec 02, 2021
Browse files
Update README.md
update readme for example/2_gemm_xdl_bias_relu_add
parent
28bfc452
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
example/2_gemm_xdl_bias_relu_add/README.md
example/2_gemm_xdl_bias_relu_add/README.md
+5
-5
No files found.
example/2_gemm_xdl_bias_relu_add/README.md
View file @
7b24b5f0
# Instructions for ```gemm_xdl_bias_add``` Example
# Instructions for ```gemm_xdl_bias_
relu_
add``` Example
## Docker script
## Docker script
```
bash
```
bash
...
@@ -13,7 +13,7 @@ rocm/tensorflow:rocm4.3.1-tf2.6-dev \
...
@@ -13,7 +13,7 @@ rocm/tensorflow:rocm4.3.1-tf2.6-dev \
/bin/bash
/bin/bash
```
```
## Build ```gemm_xdl_bias_add```
## Build ```gemm_xdl_bias_
relu_
add```
```
bash
```
bash
mkdir
build
&&
cd
build
mkdir
build
&&
cd
build
```
```
...
@@ -30,16 +30,16 @@ cmake \
...
@@ -30,16 +30,16 @@ cmake \
```
```
```
bash
```
bash
make
-j
gemm_xdl_bias_add
make
-j
gemm_xdl_bias_
relu_
add
```
```
## Run ```gemm_xdl_bias_add```
## Run ```gemm_xdl_bias_
relu_
add```
```
bash
```
bash
#arg1: verification (0=no, 1=yes)
#arg1: verification (0=no, 1=yes)
#arg2: initialization (0=no init, 1=integer value, 2=decimal value)
#arg2: initialization (0=no init, 1=integer value, 2=decimal value)
#arg3: run kernel # of times (>1)
#arg3: run kernel # of times (>1)
#arg4 to 9: M (256x), N(128x), K(32x), StrideA, StrideB, StrideC
#arg4 to 9: M (256x), N(128x), K(32x), StrideA, StrideB, StrideC
./example/gemm_xdl_bias_add 0 1 5 3840 4096 4096 4096 4096 4096
./example/gemm_xdl_bias_
relu_
add 0 1 5 3840 4096 4096 4096 4096 4096
```
```
Result (MI100 @ 1087Mhz, 133.5TFlops peak FP16)
Result (MI100 @ 1087Mhz, 133.5TFlops peak FP16)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment