triton-cuda-elementwise

Community

Speed up element-wise CUDA kernels with Triton.

Authorxchang1121
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This tool enables high-performance element-wise computations on CUDA by generating Triton-based kernels, optimizing vectorized operations for activations and broadcasting.

Core Features & Use Cases

  • Triton-based kernel generation for elementwise operations (add, mul, relu, sigmoid, tanh, gelu, exp, log, div, sub, sqrt, pow).
  • Memory layout optimizations to ensure coalesced, contiguous access and minimized stride overhead.
  • Use Cases: accelerates activation functions and element-wise math across large tensors in CUDA workflows, including broadcasting scenarios.

Quick Start

Provide an input tensor and call the elementwise kernel generator to produce a fast Triton-based CUDA kernel.

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

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.