mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-19 22:39:03 +00:00
External Interface (#304)
* 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
This commit is contained in:
32
client_example/README.md
Normal file
32
client_example/README.md
Normal file
@@ -0,0 +1,32 @@
|
||||
##
|
||||
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
|
||||
```
|
||||
Reference in New Issue
Block a user