triton-ascend-matmul

Community

Fast matmul optimization on Ascend with Triton.

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a structured guide to optimize matrix-multiplication kernels on Ascend hardware using Triton, enabling higher throughput and lower latency for dense compute workloads.

Core Features & Use Cases

  • Targeted optimization for matmul-like operators: matmul, mm, bmm, linear, gemm, outer_product, einsum (including matrix multiply), and conv converted to matmul.
  • Techniques include Cube Core utilization, tiling strategies, Swizzle optimization, and support for high-dimensional tensor shapes.
  • Use Case: Apply when core compute is dominated by large matrix multiplications and you need to maximize performance on Ascend with Triton.

Quick Start

Apply this guide to optimize a matmul kernel on Ascend using Triton and validate performance on a representative workload.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: triton-ascend-matmul
Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#triton-ascend-matmul

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.