triton-ascend-case-reduction-amin-large

Community

Ultra-fast large-scale 1D amin reduction.

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

The optimized approach for extremely large-scale 1D amin reductions, using two-stage tiling and compute reorganization to minimize UB usage and reduce the total number of reduction steps, achieving near-peak performance on Ascend AI cores.

Core Features & Use Cases

  • Two-stage tiling to prevent UB overflow and improve cache efficiency.
  • Compute reorganization to minimize reduction steps and maximize throughput for 1D data with millions of elements.
  • Autotune configurations to approach optimal grid settings (e.g., grid=32) and minimize latency on Ascend AI cores.
  • Use Case: Efficiently reduce amin across 4 million-element vectors in downstream AI workloads.

Quick Start

Run the autotuned Triton kernel for amin reduction on a 4194304-element 1D array using the provided configs.

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