将 NVIDIA PTX ISA 9.1、CUDA 13.1 (Runtime/Driver)、Math API 13.x、cuBLAS 13.2 及 NCCL 官方文档转换为易于检索的 Markdown 格式,并提供配套的 AI IDE 技能库(支持 Claude Code、Trae 等),专为 GPU 底层开发与大语言模型 (LLM) 推理优化提供知识增强的自动化辅助。
Generates optimized CUDA kernel code based on performance analysis reports or algorithm type. Reads NCU analysis reports (e.g. analysis.md) and optionally existing kernel code, then produces high-quality compilable .cu files with applied optimizations. Use when the user provides an NCU analysis report or requests CUDA…
Debugs CUDA kernel errors using compute-sanitizer (memcheck, racecheck, initcheck, synccheck), cuda-gdb (non-interactive batch backtrace), and cuobjdump (PTX/SASS/register analysis). Use when a CUDA kernel crashes (segfault, illegal memory access), produces wrong results, hangs, or when the user asks to debug or…
CUDA kernel development, debugging, performance optimization, linear algebra, and multi-GPU communication for Claude Code. Use when writing, debugging, or optimizing CUDA code, GPU kernels, parallel algorithms, or CUDA library calls. Covers cuBLAS/cuBLASLt GEMM operations, CUDA Math API (half, bfloat16, FP8, FP6…
Orchestrates a full profiling-driven CUDA kernel optimization loop (write → validate → profile → analyze → optimize) until performance converges or no further gains are possible. Capabilities include generating reference implementations, writing initial kernels via cuda-code-generator, running correctness validation…
Curated index of NVIDIA official CUDA Samples with code patterns, GitHub permalinks, and key snippets. Use when looking for working CUDA code examples, GPU kernel patterns (reduction, scan, GEMM, transpose, histogram), Tensor Core WMMA usage, CUDA Graphs API, cuBLAS/cuFFT/cuSPARSE library integration, stream/event…
Compiles, validates, and benchmarks a CUDA kernel (.cu file) against a Python reference (ref.py). Auto-detects GPU arch and infers dimension args from the extern "C" void solve(...) signature. Runs benchmark.py to: compile with nvcc, optionally validate outputs (exits on failure), benchmark both kernel and reference…
Profiles a CUDA kernel with NCU and analyzes the resulting .ncu-rep report to diagnose performance bottlenecks and generate optimization recommendations. Use when the user provides a .cu file or a .ncu-rep file and asks for performance analysis, NCU profiling, or bottleneck diagnosis. If given a .cu file, runs NCU via…