LogoClawIndex
CasesSkillsAbout
LogoClawIndex

metal-kernel - PyTorch Metal Kernels for Apple Silicon

Implement Metal/MPS kernels for PyTorch operators using native c10/metal infrastructure

Tags

Updated: 2026-06-30
MetalPyTorchApple SiliconGPUcomputekernelsgraphics programming

Capabilities

write Metal kernelupdate native_functions.yamlimplement host-side stubregister dispatch

Typical Inputs

PyTorch operatorCUDA kernelnative_functions.yaml

Typical Outputs

Metal kernel filehost-side stubupdated native_functions.yaml

What this skill does

  • write Metal kernel
  • update native_functions.yaml
  • implement host-side stub
  • register dispatch
  • compile Metal code
  • remove MPSGraph implementation
  • enable operator testing

Inputs

  • PyTorch operator
  • CUDA kernel
  • native_functions.yaml
  • Tensor data

Outputs

  • Metal kernel file
  • host-side stub
  • updated native_functions.yaml
  • compiled binary

Requirements

  • Apple Silicon hardware
  • macOS
  • Xcode
  • Clang
  • PyTorch source tree

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.