triton-ascend-case-index-put

Community

Speed memory access with batch-loaded indices.

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill demonstrates an optimization for index-based writes (index_put) in Triton-Ascend, reducing memory latency by batching index data into the Unified Buffer (UB) and reusing it inside loops via get_element, thereby avoiding repeated global memory access.

Core Features & Use Cases

  • Batch-loads index data into UB before the loop.
  • Reuses loaded data inside the loop with tl.get_element.
  • Applies to irregular memory access patterns requiring multiple accesses to the same indices.
  • Demonstrates performance improvements for Triton-Ascend workflows.

Quick Start

Run the Triton-Ascend case to batch-load indices into UB and reuse them with get_element inside the loop.

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

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.