Skip to main content

Crate vyre_driver_metal

Crate vyre_driver_metal 

Source
Expand description

Native Metal backend registration boundary.

The crate is intentionally platform-honest:

  • Apple targets compile and register the metal backend.
  • Non-Apple targets compile the crate but do not register a backend.
  • acquire() on non-Apple targets returns an actionable unsupported error.

Constants§

METAL_BACKEND_ID
Stable backend id for native Metal execution.

Functions§

acquire
Acquire the native Metal backend on non-Apple targets.