gpu-code-review

Review CUDA, CuPy, and SDK kernel code for performance, correctness, and safety issues.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/jarmak-personal/vibeSpatial --skill gpu-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gpu-code-review
Source: https://github.com/jarmak-personal/vibeSpatial/tree/main/.agents/skills/gpu-code-review
Command: npx skills add https://github.com/jarmak-personal/vibeSpatial --skill gpu-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps review GPU kernel code for performance bottlenecks, synchronization issues, and correctness errors before deployment.

Core Features & Use Cases

  • Performance Analysis: Detects anti-patterns, inefficient memory access, and suboptimal configurations for CUDA/NVRTC, CuPy, and CCCL code.
  • Risk Identification: Finds potential memory management, synchronization bugs, and precision problems across diverse GPU architectures.
  • Use Case: Use this to review CUDA source code or runtime pipelines handling large-scale spatial data, ensuring high throughput and correctness.

Quick Start

Use the gpu-code-review Skill to analyze your GPU kernel diffs for residency, synchronization, and performance risks.

Frequently Asked Questions about gpu-code-review

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

FAQPage Schema
How do I review CUDA kernel code for performance bottlenecks and synchronization issues?

Reviewing CUDA kernel code involves analyzing memory access patterns, synchronization bugs, and configuration parameters to ensure high throughput and correctness across diverse GPU architectures. This Skill detects anti-patterns and suboptimal setups in your runtime pipelines.

What are common GPU memory management anti-patterns when optimizing CuPy code?

Common GPU memory management anti-patterns in CuPy include inefficient memory access, suboptimal configurations, and precision problems. Analyzing code snippets helps identify these risks, ensuring safe memory residency and correct synchronization before deployment.

Can I use automated code review for spatial analytics applications built with CUDA and NVRTC?

Yes, automated code review suits spatial analytics applications built with CUDA and NVRTC by analyzing kernel diffs for performance risks, synchronization bugs, and correctness errors. It ensures high throughput when handling large-scale spatial data pipelines.

What is the best way to identify synchronization bugs in GPU-accelerated libraries?

Identifying synchronization bugs in GPU-accelerated libraries requires analyzing code snippets and configuration parameters to detect potential memory management and precision problems. This process finds architectural risks specific to diverse GPU architectures before deployment.

Why does my GPU kernel experience performance drops across different architectures?

GPU kernel performance drops across architectures often stem from architecture-specific tuning issues, inefficient memory access, or suboptimal configurations. Reviewing kernel diffs for residency and synchronization risks helps pinpoint these bottlenecks.

Does gpu-code-review work with CCCL code and CuPy runtime pipelines?

Yes, gpu-code-review works with CCCL code and CuPy runtime pipelines, detecting inefficient memory access and suboptimal configurations. It analyzes code snippets to find memory management, synchronization bugs, and precision problems across GPU architectures.