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] Reduced int precision for texture coordinates in conv2d_pw op, to reduce shader register pressure. #6766

Merged

Conversation

trivedivivek
Copy link
Contributor

@trivedivivek trivedivivek commented Nov 11, 2024

Stack from ghstack (oldest at bottom):

This diff reduces the precision of texture coordinates in the conv2d_pw op in Executorch's Vulkan backend to reduce shader register pressure. The changes made in the code include reducing the precision of the z coordinate in the loop and using uint16_t instead of int for the loop counter.

Differential Revision: D64767415

…, to reduce shader register pressure.

This diff reduces the precision of texture coordinates in the conv2d_pw op in Executorch's Vulkan backend to reduce shader register pressure. The changes made in the code include reducing the precision of the z coordinate in the loop and using uint16_t instead of int for the loop counter.

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

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Nov 11, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit aac546d with merge base 793f17e (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 Nov 11, 2024
trivedivivek added a commit that referenced this pull request Nov 11, 2024
…, to reduce shader register pressure.

This diff reduces the precision of texture coordinates in the conv2d_pw op in Executorch's Vulkan backend to reduce shader register pressure. The changes made in the code include reducing the precision of the z coordinate in the loop and using uint16_t instead of int for the loop counter.

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

ghstack-source-id: 252923516
Pull Request resolved: #6766
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot merged commit 71148c8 into gh/trivedivivek/12/base Nov 12, 2024
40 of 41 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/trivedivivek/12/head branch November 12, 2024 01:19
SS-JIA pushed a commit that referenced this pull request Nov 12, 2024
…, to reduce shader register pressure.

This diff reduces the precision of texture coordinates in the conv2d_pw op in Executorch's Vulkan backend to reduce shader register pressure. The changes made in the code include reducing the precision of the z coordinate in the loop and using uint16_t instead of int for the loop counter.

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

ghstack-source-id: 252923516
Pull Request resolved: #6766
SS-JIA pushed a commit that referenced this pull request Nov 12, 2024
…, to reduce shader register pressure. (#6776)

This diff reduces the precision of texture coordinates in the conv2d_pw op in Executorch's Vulkan backend to reduce shader register pressure. The changes made in the code include reducing the precision of the z coordinate in the loop and using uint16_t instead of int for the loop counter.

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

ghstack-source-id: 252923516
Pull Request resolved: #6766

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants