Skip to content

[8/n][ET-VK] Support staging any bitw8 image, take 2 #6028

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

Closed
wants to merge 4 commits into from

Conversation

jorgep31415
Copy link
Contributor

@jorgep31415 jorgep31415 commented Oct 8, 2024

Stack from ghstack (oldest at bottom):

"bitw8" = bit width 8, which is equivalent to 8-bit. We use "bitw8" as the name since shader compilation disallows names starting with a digit.
Changes follow from #4485 to support texture2d and support uint8, respectively.

Differential Revision: D64076249

Copy link

pytorch-bot bot commented Oct 8, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit 754fc0e with merge base e540bcb (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 Oct 8, 2024
jorgep31415 added a commit that referenced this pull request Oct 8, 2024
`starts_with` is a C++20 feature but OSS is on C++17.

https://en.cppreference.com/w/cpp/string/basic_string/starts_with

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

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

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

jorgep31415 added a commit that referenced this pull request Oct 8, 2024
Pull Request resolved: #6028

`starts_with` is a C++20 feature but OSS is on C++17.

https://en.cppreference.com/w/cpp/string/basic_string/starts_with

Differential Revision: [D64076249](https://our.internmc.facebook.com/intern/diff/D64076249/)
ghstack-source-id: 246948295
@facebook-github-bot
Copy link
Contributor

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

@jorgep31415 jorgep31415 changed the title [ET-VK] Fix OSS build by replace starts_with usage [8/n][ET-VK] Support staging any bitw8 image, take 2 Oct 8, 2024
"bitw8" = bit width 8, which is equivalent to 8-bit. We use "bitw8" as the name since shader compilation disallows names starting with a digit.
Changes follow from #4485 to support texture2d and support uint8, respectively.

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

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

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

"bitw8" = bit width 8, which is equivalent to 8-bit. We use "bitw8" as the name since shader compilation disallows names starting with a digit.
Changes follow from #4485 to support texture2d and support uint8, respectively.

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

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in d3cd09c.

kedarnath03 pushed a commit to kedarnath03/executorch that referenced this pull request Jun 25, 2025
Pull Request resolved: pytorch/executorch#6028

"bitw8" = bit width 8, which is equivalent to 8-bit. We use "bitw8" as the name since shader compilation disallows names starting with a digit.

Changes follow from pytorch/executorch#4485 to support `texture2d` and support `uint8`, respectively.

(Redo of pytorch/executorch#5934)
ghstack-source-id: 247078906

Differential Revision: [D64076249](https://our.internmc.facebook.com/intern/diff/D64076249/)
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 Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants