Skip to content

Tutorial code for Quick start and Layouts#721

Open
Antonyvance wants to merge 9 commits intomainfrom
tutorials
Open

Tutorial code for Quick start and Layouts#721
Antonyvance wants to merge 9 commits intomainfrom
tutorials

Conversation

@Antonyvance
Copy link

@Antonyvance Antonyvance commented Feb 3, 2026

Description

Add example code for CuTe tutorial with Xe references.
Covers quickstart guides and layout manipulation with visual demonstrations.
Key example: 08_layout_manipulation.cpp with layout manipulations. Run the code and print for the layouts.
Note: This is first of many PRs. this will be followed by Tensor basics and manipulation._

Type

  • Bug - [x] Feature - [ ] Performance - [ ] Refactor

Testing

  • Tests pass - [ ] Xe12 - [x] Xe20

Local Build/Test Steps:

cd /path/sycl-tla/build
ninja cute_layout_08_manipulation
./examples/cute/tutorial/layout/cute_layout_08_manipulation

Copy link

@tdeng5 tdeng5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this PR, it will help new CUTLASSS programmer a lot!

@vidyasiv

This comment was marked as resolved.

@Antonyvance
Copy link
Author

@Antonyvance , I see an error when I do a build:

Command

cmake .. -G Ninja -DCUTLASS_ENABLE_SYCL=ON -DCUTLASS_SYCL_PROFILING_ENABLED=OFF -DDPCPP_SYCL_TARGET=intel_gpu_bmg_g21 -DCUTLASS_ENABLE_BENCHMARKS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=icpx

OR

ninja cute_layout_08_manipulation

Both show the same error, here's the failure snippet

-- Building CuTe quickstart examples with SYCL
CMake Error at examples/cute/tutorial/CMakeLists.txt:36 (add_subdirectory):
  The source directory
   <>/sycl-tla/examples/cute/tutorial/layout
  does not contain a CMakeLists.txt file.

At commit c69190b (HEAD -> pr/721, origin/tutorials, origin/pr/721, tutorials) Do let me know if it's possibly something at my end.

Added CMakeList now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants