What problem does it solve?
This Skill solves the complexity of manual GPU kernel optimization by providing a structured, profile-driven workflow that transforms PyTorch logic into high-performance GPU kernels while ensuring hardware-specific constraints are met.
Core Features & Use Cases
- Profile-Driven Optimization: Uses Nsight Compute or ROCm profiling tools to identify and resolve performance bottlenecks.
- Hardware-Aware Implementation: Integrates a local GPU knowledge base to ensure all performance targets and architectural decisions are grounded in verified hardware specifications.
- Use Case: A developer needs to optimize a custom CUDA kernel for a specific H20 or MI300X GPU; this Skill manages the workspace, runs the Roofline analysis, and guides the iterative optimization loop until performance targets are achieved.
Quick Start
Use the gpu-kernel-optimizer skill to initialize a new optimization workspace for the kernel file named kernel_demo.py on the H20 platform.