mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-14 10:09:41 +00:00
* add a mx_fp8 client example
* remove verify code and fix date
* remove verify code and fix date, type
---------
Co-authored-by: root <root@bg-1w300-e1-2a.mkm.dcgpu>
Co-authored-by: Andriy Roshchenko <107577548+andriy-ca@users.noreply.github.com>
Co-authored-by: Andriy Roshchenko <andriy.roshchenko@amd.com>
[ROCm/composable_kernel commit: 778ac24376]
26 lines
710 B
Markdown
26 lines
710 B
Markdown
[Back to the main page](../README.md)
|
|
# Composable Kernel client examples
|
|
##
|
|
Client application links to CK library, and therefore CK library needs to be installed before building client applications.
|
|
|
|
|
|
## 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;${PATH_TO_CK_INSTALL_DIRECTORY}" \
|
|
-D GPU_TARGETS="gfx908;gfx90a" \
|
|
..
|
|
```
|
|
You must set the `GPU_TARGETS` macro to specify the GPU target architecture(s).
|
|
|
|
### Build client example
|
|
```bash
|
|
make -j
|
|
```
|