← All Claude SkillsClaude Skill · Development

Metal Kernel Writing Guide

Write Metal/MPS kernels for PyTorch operators. Use when adding MPS device support to operators, implementing Metal shaders, or porting CUDA kernels to Apple Silicon. Covers native_functions.yaml dispatch, host-side operators, and Metal kernel implementation.

Source: github.com/pytorch/pytorch/tree/main/.claude/skills/metal-kernel · License: Other

The full guide, versions and download are available to members — membership is free.

Request free accessBrowse the library