Skip to content
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

[ET-VK] Replace Uniform buffers with push constants for permute op #7231

Merged
merged 18 commits into from
Dec 17, 2024

Conversation

trivedivivek
Copy link
Contributor

@trivedivivek trivedivivek commented Dec 6, 2024

Stack from ghstack (oldest at bottom):

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: D66890825

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Dec 6, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 71da2e4 with merge base 9d1a310 (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
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

trivedivivek added a commit that referenced this pull request Dec 6, 2024
This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

ghstack-source-id: 256949313
Pull Request resolved: #7231
…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

trivedivivek added a commit that referenced this pull request Dec 6, 2024
Pull Request resolved: #7231

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.
ghstack-source-id: 256949313
@exported-using-ghexport

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)
@trivedivivek trivedivivek added the release notes: backends [DO NOT USE] Changes to any of the backend delegates label Dec 6, 2024
…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
trivedivivek added a commit that referenced this pull request Dec 6, 2024
Pull Request resolved: #7231

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.
ghstack-source-id: 256972819
@exported-using-ghexport

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

trivedivivek added a commit that referenced this pull request Dec 9, 2024
Pull Request resolved: #7231

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.
ghstack-source-id: 257227245
@exported-using-ghexport

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)
…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

trivedivivek added a commit that referenced this pull request Dec 9, 2024
Pull Request resolved: #7231

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.
ghstack-source-id: 257295329
@exported-using-ghexport

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)
…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

trivedivivek added a commit that referenced this pull request Dec 12, 2024
Pull Request resolved: #7231

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.
ghstack-source-id: 257762710
@exported-using-ghexport

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)
…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

trivedivivek added a commit that referenced this pull request Dec 12, 2024
Pull Request resolved: #7231

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.
ghstack-source-id: 257836234
@exported-using-ghexport

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)
…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

…rmute op"

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D66890825

@facebook-github-bot facebook-github-bot merged commit 7b410aa into gh/trivedivivek/26/base Dec 17, 2024
46 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/trivedivivek/26/head branch December 17, 2024 21:56
SS-JIA pushed a commit that referenced this pull request Dec 18, 2024
…7347)

* [ET-VK] Replace Uniform buffers with push constants for  binary op

Pull Request resolved: #7230

This diff replaces uniform buffers with push constants for binary op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.
ghstack-source-id: 258575398
@exported-using-ghexport

Differential Revision: [D66853542](https://our.internmc.facebook.com/intern/diff/D66853542/)

* [ET-VK] Replace Uniform buffers with push constants for permute op

Pull Request resolved: #7231

This diff replaces uniform buffers with push constants for permute op in the Vulkan backend of Executorch. The changes include updating the GLSL code to use push constants instead of uniform buffers and updating the C++ code to pass the sizes as push constants to the shader.
ghstack-source-id: 258575396
@exported-using-ghexport

Differential Revision: [D66890825](https://our.internmc.facebook.com/intern/diff/D66890825/)

---------

Co-authored-by: Vivek Trivedi <[email protected]>
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. fb-exported release notes: backends [DO NOT USE] Changes to any of the backend delegates topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants