Home / Companies / Activeloop / Blog / Post Details
Content Deep Dive

AI driven Kernel Optimization with CuTeDSL

Blog post from Activeloop

Post Details
Company
Date Published
Author
Activeloop team
Word Count
1,509
Company Posts That Month
1
Language
English
Hacker News Points
-
Post removed?
No
Summary

Since mid-2025, domain-specific languages (DSLs) focusing on tiling have gained traction in machine learning workflows, particularly with the release of the Blackwell architecture that emphasizes tile-based GPU programming. Tiling involves dividing tasks into smaller chunks that align better with GPU memory hierarchies, enhancing efficiency by enabling shared data usage across threads. The CuTeDSL is a prominent DSL supporting tiling, allowing kernel scheduling within Python without leaving the environment. This paradigm shift was demonstrated through the optimization of the Root Mean Square Normalization (RMSNorm) kernel on a GB10 GPU, showcasing significant performance improvements over naive implementations. Using CuTeDSL, developers transitioned from single-threaded to multi-threaded approaches, achieving greater GPU occupancy and throughput. The shift to one CTA per row reduced kernel duration by 56 times, though it initially struggled with wide rows like 64x32768. Iterative refinements introduced chunk-wide rows, optimizing parallelism and further enhancing performance, especially for wide-row cases. This iterative process highlighted the advantages of chunking, where more CTAs were created with minimal overhead, resulting in significant speedups compared to PyTorch's torch.compile, especially for large hidden sizes.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
AI Coding Assistant 1 1,798 527 167 +21%
Real-time 1 5,735 1,391 247 -9%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.