Skip to content

Commit 71955a7

Browse files
Adding note on convenience script
1 parent 9f77061 commit 71955a7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,34 @@ Docker images are available on [DockerHub](https://hub.docker.com/r/rocm/composa
9393
want to build the library for a list of different architectures,
9494
you should use the `GPU_ARCHS` build argument, for example `GPU_ARCHS=gfx908;gfx1030;gfx1100;gfx942`.
9595
96+
**Convenience script for development builds:**
97+
98+
Alternatively, you can use the provided convenience script `script/cmake-ck-dev.sh` which automatically
99+
configures CK for development with sensible defaults:
100+
101+
```bash
102+
../script/cmake-ck-dev.sh
103+
```
104+
105+
This script:
106+
* Cleans CMake cache files before configuring
107+
* Sets `BUILD_DEV=ON` for development mode
108+
* Defaults to GPU targets: `gfx908;gfx90a;gfx942`
109+
* Enables verbose makefile output
110+
* Sets additional compiler flags for better error messages
111+
112+
You can optionally specify custom GPU targets:
113+
114+
```bash
115+
../script/cmake-ck-dev.sh .. gfx1100
116+
```
117+
118+
Or pass additional cmake arguments:
119+
120+
```bash
121+
../script/cmake-ck-dev.sh .. gfx90a -DDTYPES=fp16;fp32
122+
```
123+
96124
4. Build the entire CK library:
97125
98126
```bash

0 commit comments

Comments
 (0)