mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-12 17:26:00 +00:00
* add client example * clean * clean * reorg * clean up profiler * reorg * clea * fix profiler * function for getinstances * update client example * update client example * update client example * update * update example * update Jenkins file * update cmake * update Jenkins
33 lines
866 B
Markdown
33 lines
866 B
Markdown
##
|
|
Client application links to CK library, and therefore CK library needs to be installed before building client applications.
|
|
|
|
## Docker script
|
|
```bash
|
|
docker run \
|
|
-it \
|
|
--privileged \
|
|
--group-add sudo \
|
|
-w /root/workspace \
|
|
-v ${PATH_TO_LOCAL_WORKSPACE}:/root/workspace \
|
|
rocm/tensorflow:rocm5.1-tf2.6-dev \
|
|
/bin/bash
|
|
```
|
|
|
|
## Build
|
|
```bash
|
|
mkdir -p client_example/build
|
|
cd client_example/build
|
|
```
|
|
|
|
```bash
|
|
cmake \
|
|
-D CMAKE_CXX_COMPILER=/opt/rocm/bin/hipcc \
|
|
-D CMAKE_PREFIX_PATH=/opt/rocm \
|
|
..
|
|
```
|
|
|
|
### Build client example
|
|
```bash
|
|
make -j
|
|
```
|