-
Notifications
You must be signed in to change notification settings - Fork 244
Add CK Tile Tutorials Folder with GEMM and COPY Kernel #3038
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds comprehensive CK Tile tutorial materials, focusing on foundational concepts for GPU kernel development. It introduces a structured learning path with two main tutorial components: a basic copy kernel and a naive GEMM implementation that demonstrates the hierarchical tile system architecture.
Key changes include:
- Tutorial infrastructure setup with dedicated CMake configuration and build targets
- Basic copy kernel tutorial demonstrating fundamental tile operations
- Complete GEMM tutorial showcasing Problem/Policy/Shape abstractions and multi-level compute hierarchy
Reviewed Changes
Copilot reviewed 17 out of 22 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tutorial/CMakeLists.txt | Sets up tutorial build infrastructure with automatic subdirectory discovery |
| tutorial/ck_tile/CMakeLists.txt | Root CMake for CK Tile tutorials, adding copy and GEMM subdirectories |
| tutorial/ck_tile/00_copy_kernel/* | Copy kernel tutorial with updated executable naming and build configuration |
| tutorial/ck_tile/01_naive_gemm/* | Complete GEMM tutorial implementation across host/block/warp levels |
| CMakeLists.txt | Integrates tutorial build target into main project configuration |
| example/ck_tile/CMakeLists.txt | Removes copy example (likely moved to tutorial) |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
tutorial/ck_tile/01_naive_gemm/warp_level/practice_gemm_warp_policy_asmem_bsmem_creg.hpp
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Proposed changes
In this PR we bring a simple GEMM example demonstrating key CK Tile concepts such as
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