Skip to content

Conversation

manuelcandales
Copy link
Contributor

This commit introduces the foundational Metal backend runtime.

Key features:

  • ETMetalStream for managing Metal devices, command queues, buffers, and synchronization.
  • ETMetalShaderLibrary for compiling Metal shader source and caching pipeline states.
  • ETMetalKernelFunction for kernel argument binding, dispatching, and synchronization with stream-managed encoders.
  • Added global buffer management and pointer tracking between host and Metal buffers.
  • Added global stream management utilities and synchronization helpers

This provides the necessary runtime primitives for executing compute shaders and MPSGraph workloads.

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Oct 10, 2025

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/15020

Note: Links to docs will display an error until the docs builds have been completed.

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 3 New Failures, 4 Pending, 1 Unrelated Failure

As of commit 7e971b0 with merge base 896178e (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

[ghstack-poisoned]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant