triton-ascend-case-reduction-amax-large

Community

Map large reduce axes to multi-core with atomic ops

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Reduces the bottleneck of large-axis reductions by mapping the reduce axis to multiple cores and performing atomic reductions across thread blocks, avoiding common UB issues in extreme configurations.

Core Features & Use Cases

  • Maps the reduce axis to multi-core execution to improve throughput on large N.
  • Uses atomic operations for intra-kernel reductions and two-stage tiling to maximize occupancy.
  • Suitable for extreme shape ratios like M<<N (e.g., 16×262144) on Ascend hardware.

Quick Start

Run the Triton Ascend case with the provided grid and atomic-min reduction strategy to verify performance on large-scale reductions.

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-case-reduction-amax-large
Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#triton-ascend-case-reduction-amax-large

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.