Skip to content

[ET-VK][ez] Store physical device identity metadata #10361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 22, 2025
Merged

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #10353 by @SS-JIA
^ Please use this as the source of truth for the PR details, comments, and reviews
ghstack PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/218/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/218/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/SS-JIA/217/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/SS-JIA/218/orig
@diff-train-skip-merge

SS-JIA added 2 commits April 22, 2025 09:42
Pull Request resolved: #10352

## Changes

Simplify the logic to construct a linked list of physical device feature structs

When constructing the logical device, construct the linked list of device features to enable instead of using a stored pointer from the constructor of `PhysicalDevice`. The reason is that due to possible moves, the stored pointer may be invalid by the time the `Adapter` instance is constructed. It is safer to reconstruct the device features linked list at the time it is needed.
ghstack-source-id: 279563505
@exported-using-ghexport

Differential Revision: [D73438721](https://our.internmc.facebook.com/intern/diff/D73438721/)
Pull Request resolved: #10353

## Context

Lay the groundwork for storing device identity metadata. This will allow operator implementations to select and/or configure compute shaders based on the GPU that is being used.

Differential Revision: [D73438723](https://our.internmc.facebook.com/intern/diff/D73438723/)
ghstack-source-id: 279563504
@pytorchbot pytorchbot requested a review from SS-JIA as a code owner April 22, 2025 18:11
Copy link

pytorch-bot bot commented Apr 22, 2025

🔗 Helpful Links

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

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

⏳ No Failures, 35 Pending

As of commit 15e7111 with merge base 95c663e (image):
💚 Looks good so far! There are no failures yet. 💚

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

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 22, 2025
Base automatically changed from gh/SS-JIA/217/orig to main April 22, 2025 18:25
@SS-JIA SS-JIA merged commit c179f0d into main Apr 22, 2025
81 of 82 checks passed
@SS-JIA SS-JIA deleted the gh/SS-JIA/218/orig branch April 22, 2025 18:26
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.

3 participants