LogoClawIndex
CasesSkillsAbout
LogoClawIndex

metal-kernel - PyTorch Metal Kernel Implementation

Implement Metal/MPS kernels for PyTorch operators on Apple Silicon

Tags

Updated: 2026-06-30
PyTorchMetalMPSApple SiliconGPU computing

Capabilities

update dispatch configurationwrite Metal kernel codeimplement host-side stubregister dispatch stub

Typical Inputs

PyTorch operator namenative_functions.yaml fileTensorIterator base interface

Typical Outputs

Metal kernel filehost-side stub filedispatch configuration

What this skill does

  • update dispatch configuration
  • write Metal kernel code
  • implement host-side stub
  • register dispatch stub
  • compile source code
  • remove old implementation
  • enable operator testing

Inputs

  • PyTorch operator name
  • native_functions.yaml file
  • TensorIterator base interface
  • c10/metal infrastructure

Outputs

  • Metal kernel file
  • host-side stub file
  • dispatch configuration
  • compiled code
  • test results

Requirements

  • Apple Silicon hardware
  • Metal runtime support
  • PyTorch source code
  • C++ compiler

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.