Metal Kernel

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.

pytorch Updated
Tensor illustration

File contents

pytorch/pytorch commit c23c408a53

Frequently asked questions

npx get-skill add pytorch/metal-kernel