[CK] Add rocm_ck directory structure with feature flag - #7090
Merged
Conversation
shumway
force-pushed
the
users/shumway/ck/rocm-ck-dirs
branch
2 times, most recently
from
May 5, 2026 23:03
698a4b0 to
0230b22
Compare
shumway
force-pushed
the
users/shumway/ck/rocm-ck-dirs
branch
2 times, most recently
from
May 6, 2026 08:12
2afddd7 to
a87e201
Compare
chris-tsiaousis-hpc
self-requested a review
May 6, 2026 08:47
shumway
force-pushed
the
users/shumway/ck/rocm-ck-dirs
branch
2 times, most recently
from
May 7, 2026 03:46
86b59b2 to
f4a98df
Compare
chris-tsiaousis-hpc
approved these changes
May 7, 2026
chris-tsiaousis-hpc
left a comment
Contributor
There was a problem hiding this comment.
LGTM! Thanks for starting this (and starting it this way). Added some considerations but you can view them as NITs.
shumway
force-pushed
the
users/shumway/ck/rocm-ck-dirs
branch
from
May 7, 2026 14:34
f4a98df to
56d5aef
Compare
shumway
commented
May 7, 2026
shumway
left a comment
Contributor
Author
There was a problem hiding this comment.
Thank you for the carful review. I followed up on each of your comments, they were helpful!
…tion Establish the production rocm_ck directory at composablekernel/rocm_ck/, peer to tile_engine/ and dispatcher/. rocm_ck is a constexpr schema API over CK Tile device kernels, enabling host-device separation for multi-architecture distribution. - Add CK_ENABLE_ROCM_CK option (default OFF) gating add_subdirectory - Create INTERFACE library (rocm_ck) and ck_tile_headers target - Add GTest integration with builder-style convenience targets (smoke-rocm-ck, check-rocm-ck) - Add index_t.hpp with unit test verifying type compatibility with ck_tile - Enable RUN_ROCM_CK_TESTS by default in Jenkins (ON in CI, OFF in CMake) - Add README documenting the constexpr schema model and kpack workflow Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Set C++20 on rocm_ck INTERFACE library so all consumers inherit it - Use full relative paths in test list with get_filename_component - Simplify README directory tree to dir-level descriptions Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The global `check` target runs CTest without label filtering, which discovers rocm_ck tests registered via add_test(). But `check` had no dependency on the rocm_ck build targets, so the test executables were never compiled — CTest failed with "Could not find executable." Add build-smoke-rocm-ck as a dependency of check when CK_ENABLE_ROCM_CK is enabled. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
shumway
force-pushed
the
users/shumway/ck/rocm-ck-dirs
branch
from
May 8, 2026 03:59
23b0ea7 to
f11ed26
Compare
chris-tsiaousis-hpc
approved these changes
May 8, 2026
chris-tsiaousis-hpc
left a comment
Contributor
There was a problem hiding this comment.
LGTM! Thanks for addressing my comments!
CK's -Weverything flag enables -Wc++20-compat, which warns about consteval being incompatible with pre-C++20 — irrelevant since rocm_ck requires C++20. With -Werror this becomes a hard failure on Jenkins. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
aosewski
approved these changes
May 8, 2026
aosewski
enabled auto-merge (squash)
May 8, 2026 13:46
assistant-librarian Bot
pushed a commit
to ROCm/composable_kernel
that referenced
this pull request
May 14, 2026
[CK] Add rocm_ck directory structure with feature flag (#7090) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Adds initial rocm_ck directory structure, #7119. - Establishes production `rocm_ck/` directory at `composablekernel/rocm_ck/`, peer to `tile_engine/` and `dispatcher/` - Adds `CK_ENABLE_ROCM_CK` option (default OFF) as a CK-internal feature flag — no superbuild or TheRock changes needed - Creates `rocm_ck` INTERFACE library, `ck_tile_headers` target, GTest integration with builder-style convenience targets (`smoke-rocm-ck`, `check-rocm-ck`) - Adds Jenkins `RUN_ROCM_CK_TESTS` parameter for CI, following the `RUN_BUILDER_TESTS` pattern - README explains the constexpr schema model: host-device separation via constexpr data rather than template parameters, enabling multi-arch distribution through kpack archives ## Test plan - [x] `cmake -DCK_ENABLE_ROCM_CK=ON` configures without errors - [x] `ninja check-rocm-ck` passes (4 host-only index type tests) - [x] Default build (`CK_ENABLE_ROCM_CK=OFF`) is unaffected — no rocm_ck targets present - [x] Jenkins `RUN_ROCM_CK_TESTS=true` enables the flag and runs `check-rocm-ck` 🤖 Generated with [Claude Code](https://claude.com/claude-code)
aledudek
pushed a commit
that referenced
this pull request
May 20, 2026
## Summary Adds initial rocm_ck directory structure, #7119. - Establishes production `rocm_ck/` directory at `composablekernel/rocm_ck/`, peer to `tile_engine/` and `dispatcher/` - Adds `CK_ENABLE_ROCM_CK` option (default OFF) as a CK-internal feature flag — no superbuild or TheRock changes needed - Creates `rocm_ck` INTERFACE library, `ck_tile_headers` target, GTest integration with builder-style convenience targets (`smoke-rocm-ck`, `check-rocm-ck`) - Adds Jenkins `RUN_ROCM_CK_TESTS` parameter for CI, following the `RUN_BUILDER_TESTS` pattern - README explains the constexpr schema model: host-device separation via constexpr data rather than template parameters, enabling multi-arch distribution through kpack archives ## Test plan - [x] `cmake -DCK_ENABLE_ROCM_CK=ON` configures without errors - [x] `ninja check-rocm-ck` passes (4 host-only index type tests) - [x] Default build (`CK_ENABLE_ROCM_CK=OFF`) is unaffected — no rocm_ck targets present - [x] Jenkins `RUN_ROCM_CK_TESTS=true` enables the flag and runs `check-rocm-ck` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Max Podkorytov <4273004+tenpercent@users.noreply.github.com>
shumway
added a commit
to ROCm/composable_kernel
that referenced
this pull request
May 27, 2026
[CK] Add rocm_ck directory structure with feature flag (#7090) ## Summary Adds initial rocm_ck directory structure, #7119. - Establishes production `rocm_ck/` directory at `composablekernel/rocm_ck/`, peer to `tile_engine/` and `dispatcher/` - Adds `CK_ENABLE_ROCM_CK` option (default OFF) as a CK-internal feature flag — no superbuild or TheRock changes needed - Creates `rocm_ck` INTERFACE library, `ck_tile_headers` target, GTest integration with builder-style convenience targets (`smoke-rocm-ck`, `check-rocm-ck`) - Adds Jenkins `RUN_ROCM_CK_TESTS` parameter for CI, following the `RUN_BUILDER_TESTS` pattern - README explains the constexpr schema model: host-device separation via constexpr data rather than template parameters, enabling multi-arch distribution through kpack archives ## Test plan - [x] `cmake -DCK_ENABLE_ROCM_CK=ON` configures without errors - [x] `ninja check-rocm-ck` passes (4 host-only index type tests) - [x] Default build (`CK_ENABLE_ROCM_CK=OFF`) is unaffected — no rocm_ck targets present - [x] Jenkins `RUN_ROCM_CK_TESTS=true` enables the flag and runs `check-rocm-ck` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Max Podkorytov <4273004+tenpercent@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds initial rocm_ck directory structure, #7119.
rocm_ck/directory atcomposablekernel/rocm_ck/, peer totile_engine/anddispatcher/CK_ENABLE_ROCM_CKoption (default OFF) as a CK-internal feature flag — no superbuild or TheRock changes neededrocm_ckINTERFACE library,ck_tile_headerstarget, GTest integration with builder-style convenience targets (smoke-rocm-ck,check-rocm-ck)RUN_ROCM_CK_TESTSparameter for CI, following theRUN_BUILDER_TESTSpatternTest plan
cmake -DCK_ENABLE_ROCM_CK=ONconfigures without errorsninja check-rocm-ckpasses (4 host-only index type tests)CK_ENABLE_ROCM_CK=OFF) is unaffected — no rocm_ck targets presentRUN_ROCM_CK_TESTS=trueenables the flag and runscheck-rocm-ck🤖 Generated with Claude Code