cpu-basics
CommunityMaster CPU kernels with safe, fast patterns.
Authorxchang1121
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a clear, practical guide to building CPU-based operator kernels in C++ for PyTorch, covering core concepts, safe memory handling, and standardized patterns to accelerate development.
Core Features & Use Cases
- Core concepts: kernels, tensor handling, memory management, and safety checks.
- Standard structure: five-step kernel pattern, type handling, and inline C++ extensions.
- Use cases: creating portable CPU kernels for production-grade ML workloads.
Quick Start
Run through the CPU basics guide to implement a minimal CPU kernel following the five-step pattern.
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: cpu-basics Download link: https://github.com/xchang1121/AutoResearch-CC-hook/archive/main.zip#cpu-basics 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.