-
Notifications
You must be signed in to change notification settings - Fork 557
[ET-VK] De vectorise positions in conv2d pw shader to improve perf. #11122
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] De vectorise positions in conv2d pw shader to improve perf. #11122
Conversation
This improves the performance of the conv2d pw shader by fully de-vectorizing it. The optimization involved replacing the `ivec3 pos` array with a plain `int pos` array to store the position values. The `x` and `y` coordinates are now stored in separate elements of the array instead of being stored together in an `ivec3`. This change allows for more efficient memory access and computation. Differential Revision: [D75335802](https://our.internmc.facebook.com/intern/diff/D75335802/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11122
Note: Links to docs will display an error until the docs builds have been completed. ✅ You can merge normally! (2 Unrelated Failures)As of commit 305d686 with merge base 380eb5f ( BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This improves the performance of the conv2d pw shader by fully de-vectorizing it. The optimization involved replacing the `ivec3 pos` array with a plain `int pos` array to store the position values. The `x` and `y` coordinates are now stored in separate elements of the array instead of being stored together in an `ivec3`. This change allows for more efficient memory access and computation. Differential Revision: [D75335802](https://our.internmc.facebook.com/intern/diff/D75335802/) ghstack-source-id: 286016142 Pull Request resolved: #11122
This pull request was exported from Phabricator. Differential Revision: D75335802 |
This improves the performance of the conv2d pw shader by fully de-vectorizing it. The optimization involved replacing the `ivec3 pos` array with a plain `int pos` array to store the position values. The `x` and `y` coordinates are now stored in separate elements of the array instead of being stored together in an `ivec3`. This change allows for more efficient memory access and computation. Differential Revision: [D75335802](https://our.internmc.facebook.com/intern/diff/D75335802/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75335802 |
This improves the performance of the conv2d pw shader by fully de-vectorizing it. The optimization involved replacing the `ivec3 pos` array with a plain `int pos` array to store the position values. The `x` and `y` coordinates are now stored in separate elements of the array instead of being stored together in an `ivec3`. This change allows for more efficient memory access and computation. Differential Revision: [D75335802](https://our.internmc.facebook.com/intern/diff/D75335802/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75335802 |
This improves the performance of the conv2d pw shader by fully de-vectorizing it. The optimization involved replacing the `ivec3 pos` array with a plain `int pos` array to store the position values. The `x` and `y` coordinates are now stored in separate elements of the array instead of being stored together in an `ivec3`. This change allows for more efficient memory access and computation. Differential Revision: [D75335802](https://our.internmc.facebook.com/intern/diff/D75335802/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75335802 |
This improves the performance of the conv2d pw shader by fully de-vectorizing it. The optimization involved replacing the `ivec3 pos` array with a plain `int pos` array to store the position values. The `x` and `y` coordinates are now stored in separate elements of the array instead of being stored together in an `ivec3`. This change allows for more efficient memory access and computation. Differential Revision: [D75335802](https://our.internmc.facebook.com/intern/diff/D75335802/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75335802 |
This improves the performance of the conv2d pw shader by fully de-vectorizing it. The optimization involved replacing the `ivec3 pos` array with a plain `int pos` array to store the position values. The `x` and `y` coordinates are now stored in separate elements of the array instead of being stored together in an `ivec3`. This change allows for more efficient memory access and computation. Differential Revision: [D75335802](https://our.internmc.facebook.com/intern/diff/D75335802/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75335802 |
This improves the performance of the conv2d pw shader by fully de-vectorizing it. The optimization involved replacing the `ivec3 pos` array with a plain `int pos` array to store the position values. The `x` and `y` coordinates are now stored in separate elements of the array instead of being stored together in an `ivec3`. This change allows for more efficient memory access and computation. Differential Revision: [D75335802](https://our.internmc.facebook.com/intern/diff/D75335802/) [ghstack-poisoned]
This pull request was exported from Phabricator. Differential Revision: D75335802 |
709ca10
into
gh/trivedivivek/93/base
…11186) This PR was created by the merge bot to help merge the original PR into the main branch. ghstack PR number: #11122 by @trivedivivek ^ 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/trivedivivek/93/base ghstack PR head: https://github.com/pytorch/executorch/tree/gh/trivedivivek/93/head Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/trivedivivek/92/orig Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/trivedivivek/93/orig @diff-train-skip-merge --------- Co-authored-by: Vivek Trivedi <5340687+trivedivivek@users.noreply.github.com>
Stack from ghstack (oldest at bottom):
This improves the performance of the conv2d pw shader by fully de-vectorizing it.
The optimization involved replacing the
ivec3 pos
array with a plainint pos
array to store the position values. Thex
andy
coordinates are now stored in separate elements of the array instead of being stored together in anivec3
. This change allows for more efficient memory access and computation.Differential Revision: D75335802