test: Add umbrella test targets for CK Tile operations#3654
Closed
AviralGoelAMD wants to merge 6 commits intodevelopfrom
Closed
test: Add umbrella test targets for CK Tile operations#3654AviralGoelAMD wants to merge 6 commits intodevelopfrom
AviralGoelAMD wants to merge 6 commits intodevelopfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR introduces operation-specific umbrella test targets for CK Tile to enable running all tests for a specific operation (e.g., GEMM, FMHA, reduce) without running the entire test suite. This improves the development workflow by allowing faster iteration when working on specific operations.
Changes:
- Added umbrella test targets for six CK Tile operations: GEMM, GEMM block scale, GEMM StreamK, grouped GEMM quantization, FMHA, and reduce
- Created comprehensive testing documentation in
test/ck_tile/README.md - Modified existing CMakeLists.txt files to support the new test targets while preserving existing build targets
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| test/ck_tile/CMakeLists.txt | Added documentation header explaining the three-tier test organization system |
| test/ck_tile/README.md | New comprehensive testing guide with usage examples for all test targets |
| test/ck_tile/gemm/CMakeLists.txt | Added ck_tile_gemm_tests umbrella target with test collection and labeling |
| test/ck_tile/gemm_block_scale/CMakeLists.txt | Added ck_tile_gemm_block_scale_tests target and refactored existing test organization |
| test/ck_tile/gemm_streamk/CMakeLists.txt | Added ck_tile_gemm_streamk_tests umbrella target |
| test/ck_tile/grouped_gemm_quant/CMakeLists.txt | Added ck_tile_grouped_gemm_quant_tests umbrella target |
| test/ck_tile/fmha/CMakeLists.txt | Added ck_tile_fmha_tests target and updated test labeling in helper functions |
| test/ck_tile/reduce/CMakeLists.txt | Added ck_tile_reduce_tests umbrella target |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
9a7d487 to
bd3ca11
Compare
7 tasks
Contributor
|
Imported to ROCm/rocm-libraries |
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.
Proposed changes
Adds operation-specific umbrella test targets for CK Tile to enable running all tests for a specific operation without running the entire test suite. This improves the development workflow by allowing faster iteration when working on specific operations.
Motivation
Previously, developers working on CK Tile operations could only:
smoke,regression,check) which test the entire codebaseThis made it cumbersome to validate changes to a specific operation (e.g., GEMM quantization) without either running tests individually or running the entire test suite.
Documentation
test/ck_tile/TESTING.md- Comprehensive testing guide with usage examples and implementation detailsUsage Examples
Run all GEMM tests with 256 parallel jobs
ninja -j256 ck_tile_gemm_tests
Run all GEMM block scale (quantization) tests
ninja -j256 ck_tile_gemm_block_scale_tests
Run all GEMM StreamK tests
ninja -j256 ck_tile_gemm_streamk_tests
Checklist
Please put an
xinto the boxes that apply. You can also fill these out after creating the PR. If you're not sure, please don't hesitate to ask.clang-formaton all changed filesDiscussion
If this is a relatively large or complex change, feel free to start a discussion by explaining why you chose the solution you did and what alternatives you considered