tilelang-cuda-api

Document TileLang CUDA API signatures, parameters, and kernel examples.

258|48|Updated Jun 22, 2020
One-click install
npx skills add https://github.com/mindspore-ai/akg --skill tilelang-cuda-api-mindspore-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tilelang-cuda-api
Source: https://github.com/mindspore-ai/akg/tree/main/akg_agents/python/akg_agents/op/resources/skills/tilelang-cuda/guides/tilelang-cuda-api
Command: npx skills add https://github.com/mindspore-ai/akg --skill tilelang-cuda-api-mindspore-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This reference guide provides precise API signatures, parameter explanations, and usage guidance to help developers learn and correctly generate TileLang CUDA kernels.

Core Features & Use Cases

  • Comprehensive coverage of kernel definitions, memory management, data operations, looping constructs, and intrinsic primitives.
  • Practical examples and best practices to implement TileLang CUDA kernels across GPU backends.
  • Use Case: reference for implementing a simple matrix kernel and validating parameter semantics in TileLang CUDA workflows.

Quick Start

Open this guide and follow by defining a sample TileLang CUDA kernel using tilelang.jit.

Frequently Asked Questions about tilelang-cuda-api

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I define a CUDA kernel using TileLang?

Start by defining a sample TileLang CUDA kernel using tilelang.jit. The documentation provides complete API signatures, parameter explanations, and practical examples to guide implementation and debugging in TileLang CUDA workflows.

What memory management APIs are available for TileLang CUDA kernels?

TileLang CUDA provides memory management APIs for handling data operations within kernel definitions. The reference guide covers memory APIs, data operations, and intrinsic primitives across CUDA backends to ensure correct kernel generation.

Does TileLang CUDA support intrinsic operations across different GPU backends?

Yes, TileLang CUDA supports common intrinsic operations across various CUDA backends. The reference guide covers kernel setup, memory APIs, and intrinsic primitives to ensure correct usage and compatibility in kernel workflows.

Where can I find parameter explanations for TileLang CUDA kernel functions?

Parameter explanations for TileLang CUDA kernel functions are available in this complete API reference. It enforces clear API signatures and parameter semantics to validate implementation and accelerate learning of kernel definitions.

Can I use TileLang CUDA for practical GPU kernel development or is it just for learning?

TileLang CUDA is suitable for both learning and practical development scenarios. The documentation provides practical examples and best practices to implement and validate TileLang CUDA kernels across GPU backends.