cuda-c-examples-torch
CommunityPyTorch + CUDA C inline kernel integration
Authorxchang1121
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill demonstrates how to integrate CUDA C kernels into PyTorch projects by using Torch's load_inline to compile and bind custom kernels at runtime, enabling high-performance GPU ops alongside Python code.
Core Features & Use Cases
- Inline CUDA/C++ kernel integration with PyTorch via load_inline.
- Ready-to-run examples: vector_add, relu, matmul, softmax, layernorm, and a fused kernel workflow.
- Use cases include accelerating custom ops in research experiments or production-grade training loops requiring tailored GPU kernels.
Quick Start
Run a sample PyTorch script that loads an inline CUDA C kernel using load_inline and executes a simple operation.
Dependency Matrix
Required Modules
None requiredComponents
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: cuda-c-examples-torch Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#cuda-c-examples-torch Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.