triton-ascend-case-reduction-amin-atomic
CommunityAtomic reductions for small axes on Ascend.
Authorxchang1121
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Optimizes atomic reductions for tensors where the non-reduce axis is small and the reduce axis is large, enabling mapping the reduce axis across multiple cores to improve throughput on Ascend devices.
Core Features & Use Cases
- Atomic-based reduction in Triton kernels with two complementary strategies: per-block atomic updates and post-aggregation, enabling trade-offs between memory usage and contention.
- Axis-aware tiling and fine-grained partitioning to respect hardware caches and maximize throughput for extreme shapes (e.g., M << N).
- Use case coverage includes large matrix reductions in ML workloads and operations requiring synchronized minima or sums across threads.
Quick Start
Run the amin-atomic Triton Ascend example to benchmark the two atomic strategies and observe performance improvements on your hardware.
Dependency Matrix
Required Modules
None requiredComponents
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-atomic Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#triton-ascend-case-reduction-amin-atomic Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.