siso-cuda-kernel-opt-tradeoffs

Community

Tune CUDA kernel tradeoffs for state-space speed.

AuthorKangOxford
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Document SISO (Mamba3 state-space) CUDA FFI kernel optimization tradeoffs — N-split structural constraint (V buffer not split), union SMEM lifetimes, launch_bounds occupancy tuning, per-sample speedup saturation with BSZ. Use when tuning K3 kernel for different d_state values or similar state-scan kernels.

Core Features & Use Cases

  • N_SPLITS tradeoff analysis and guidance for SMEM traffic and occupancy
  • SMEM lifetime unions to reduce memory footprint without sacrificing correctness
  • Launch_bounds tuning and CS sizing recommendations for different d_state values
  • Per-sample speedup saturation curve methodology and verification workflow

Quick Start

Run the optimization workflow to identify the optimal N_SPLITS, SMEM lifetime unions, and CS settings for your d_state values.

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: siso-cuda-kernel-opt-tradeoffs
Download link: https://github.com/KangOxford/auto-quant-research/archive/main.zip#siso-cuda-kernel-opt-tradeoffs

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.