Skip to content

Commit c54ecd9

Browse files
docs: update ckProfiler readme with selective building option (#3140)
* docs: update ckProfiler readme with selective building option * docs: add list of operations for ckProfiler
1 parent ab68c9d commit c54ecd9

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

profiler/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
[Back to the main page](../README.md)
22
# Composable Kernel profiler
3+
4+
## Building Specific Profilers
5+
To reduce build time, filter which operations to compile using CMake options:
6+
7+
```bash
8+
# Build all grouped_gemm variants (grouped_gemm, grouped_gemm_fastgelu, grouped_gemm_tile_loop, etc.)
9+
cmake -DCK_PROFILER_OP_FILTER="grouped_gemm" <other options> ..
10+
11+
# Build ONLY base grouped_gemm (excludes variants - use exact regex match with ^ and $)
12+
cmake -DCK_PROFILER_OP_FILTER="^grouped_gemm$" <other options> ..
13+
```
14+
15+
Both `CK_PROFILER_OP_FILTER` and `CK_PROFILER_INSTANCE_FILTER` accept regex patterns. Default builds all operations.
16+
17+
To find the complete list of operations, run the following command:
18+
```bash
19+
find profiler/src -name "profile_*.cpp" | sed 's|profiler/src/profile_||' | sed 's|.cpp||' | sort
20+
```
321
## Profiler GEMM UNIVERSAL kernels
422
```bash
523
# arg1: tensor operation (gemm_universal: Universal GEMM)

0 commit comments

Comments
 (0)