Skip to content

Metal Renderer

The Metal renderer is the default on macOS and reads PyTorch's MPS buffers in place with a compute pass or a blit, so a tensor reaches a texture without a CPU copy.

Field Value
ID REN-01
Status Shipped
Scope Supporting
Pillar Rendering and 3-D
Sprint None
Depends On None
Unblocks Zero-Copy from Torch (REN-08)
Graphics Layer (REN-09)
Renderer Baseline and Counters (REN-31)
Device-Backed Shared Allocation on Metal (REN-60)
Docs Rendering, Backends
Branches None
Design None

Coverage Ledger

  • Branch sprint2-lutfix, 0 commits that main lacks (5 ahead of the merge base). Work on Metal colouring of value-coloured live points, which reached main through a pull request (patch ids and subjects match).
  • design/renderer-core.md on the branch sprint4, under What is built and what is planned. The page states that nothing on it is built and lists built pieces: the renderer seam and its backends, the zero-copy paths, the geometry service and tensor bridge, the live views and the pixel-exact graphics suite.
  • design/renderer-core.md on the branch sprint4, under Backends. Backends table: Metal, Vulkan with CUDA, OpenGL 3.3 and WebGPU; Dawn is a fifth role rather than a fifth implementation.
  • design/roadmap.md, under Renderers. Metal on macOS and Vulkan on Windows stay the normal path at full speed with zero-copy; nothing routes them through another layer.
  • design/roadmap.md, under Renderers. Caliper then maintains three renderers: Metal, Vulkan and WebGPU.
  • Rendering, Backends. The backends Metal, Vulkan, OpenGL and WebGPU.
  • Rendering, Pixel-Space Contract. The pixel-space contract.
  • Zero-Copy Tensors, Tensor Texture Paths. How a tensor reaches a texture on Apple silicon, on Windows with an NVIDIA GPU and on the OpenGL fallback.

Roadmap Graph Feature in Graph