croq-dsl-triton

Tunes and optimizes Triton GPU kernels with build, run, and profiling templates.

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/LancerLab/croqtile-tuner --skill croq-dsl-triton
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: croq-dsl-triton
Source: https://github.com/LancerLab/croqtile-tuner/tree/main/.claude/skills/croq-dsl-triton
Command: npx skills add https://github.com/LancerLab/croqtile-tuner --skill croq-dsl-triton

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a domain-specific language (DSL) tuning contract for Triton kernels, enabling users to efficiently optimize GPU performance.

Core Features & Use Cases

  • Environment Validation: Check Triton version compatibility to ensure proper execution.
  • BUILD / RUN Templates: Generate scripts to compile and run Triton kernels with proper syntax and error handling.
  • Performance Profiling: Use NVIDIA NVCC tools to profile GPU kernels for performance bottlenecks.
  • Optimization Ideas: Offer specific strategies like memory and compute bounds adjustments to improve kernel efficiency.
  • Verification & Measurement: Define standardized verification and benchmarking procedures for kernel correctness and speed.

Quick Start

Provide a Triton GPU kernel source file, and run the build script to compile; then execute the run script to generate profile data and analyze GPU performance metrics.

Frequently Asked Questions about croq-dsl-triton

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize Triton GPU kernels for performance bottlenecks?

To optimize Triton GPU kernels, you can use structured build, run, and profiling templates to compile source files, generate profile data with NVIDIA NVCC tools, and analyze GPU performance metrics to identify and resolve bottlenecks.

How does performance profiling work with Triton kernels?

Performance profiling works by executing generated run scripts that utilize NVIDIA NVProf tools to measure GPU kernel execution, producing profile data for deep performance analysis and debugging of your Triton code.

Do I need specific tools to profile and tune Triton kernels?

Yes, you need Triton and NVIDIA NVProf tools installed in your environment to execute the build and run scripts, profile GPU performance, and validate kernel compatibility for proper tuning.

What strategies help improve Triton kernel efficiency?

Strategies to improve Triton kernel efficiency include applying targeted memory and compute bounds adjustments, using standardized verification procedures, and benchmarking to measure kernel correctness and speed improvements.

Why should I validate the environment before running Triton kernel scripts?

Validating the environment checks your Triton version compatibility to ensure proper execution, preventing syntax and error handling issues when compiling and running GPU kernels during performance tuning.

What is the best way to benchmark Triton kernel correctness and speed?

The best way to benchmark Triton kernels is to define standardized verification and measurement procedures that validate kernel correctness while tracking speed improvements across optimization iterations.