From ff1ad9acaff1ff9ec802fe70681f8e2aa9a38903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Pietil=C3=A4?= Date: Fri, 3 Oct 2025 07:03:32 +0000 Subject: [PATCH] Add build instructions to builder Readme. --- experimental/builder/README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/experimental/builder/README.md b/experimental/builder/README.md index bdc4c59878..b68cd1399b 100644 --- a/experimental/builder/README.md +++ b/experimental/builder/README.md @@ -46,3 +46,27 @@ Draft of kernel description, to be iterated and aligned with existing CK convolu - **Hardware Optimization** Captures architecture-specific choices (e.g., MFMA type, LDS usage, register pressure). + +## 🔨 Building the CK builder + + +For the CMake configure step, add an additional option + +```cmake +-D MIOPEN_REQ_LIBS_ONLY=ON +``` + +Note that this disables building some of the other CK assets such as CK profiler. + +The builder tests depend on `gMock` that may not be automatically installed on the standard CK development environments. +The `gMock` library can be installed via `apt` + +```bash +sudo apt install libgmock-dev +``` + +Currently, the entrypoint to the CK builder is the test suite that can be built via dedicated CMake target + +```bash +make -j test_conv_builder +```