Skip to content

[ET-VK] Fix debug build + print maximum storage buffer size with device limits #9016

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 1 commit into from
Mar 6, 2025

Conversation

SS-JIA
Copy link
Contributor

@SS-JIA SS-JIA commented Mar 6, 2025

Stack from ghstack (oldest at bottom):

Context

Two simple fixes/improvements.

  1. Recently the interface to retrieve a VkPipeline from a pipeline cache was updated. Some code hidden behind debug compile flags was not updated. Updating the call site fixes building Vulkan with etvk.debug = 1.
  2. Print the maximum storage buffer size when printing out the physical device limits. This is useful information to have.

Differential Revision: D70718388

…ce limits

## Context

Two simple fixes/improvements.

1. Recently the interface to retrieve a `VkPipeline` from a pipeline cache was updated. Some code hidden behind debug compile flags was not updated. Updating the call site fixes building Vulkan with `etvk.debug = 1`.
2. Print the maximum storage buffer size when printing out the physical device limits. This is useful information to have.

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

[ghstack-poisoned]
SS-JIA added a commit that referenced this pull request Mar 6, 2025
…ce limits

## Context

Two simple fixes/improvements.

1. Recently the interface to retrieve a `VkPipeline` from a pipeline cache was updated. Some code hidden behind debug compile flags was not updated. Updating the call site fixes building Vulkan with `etvk.debug = 1`.
2. Print the maximum storage buffer size when printing out the physical device limits. This is useful information to have.

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

ghstack-source-id: 270150972
Pull Request resolved: #9016
Copy link

pytorch-bot bot commented Mar 6, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 85dc076 with merge base 2a5f8d4 (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 Mar 6, 2025
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot merged commit 67438cf into gh/SS-JIA/191/base Mar 6, 2025
52 of 55 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/SS-JIA/191/head branch March 6, 2025 21:03
kirklandsign pushed a commit that referenced this pull request Mar 6, 2025
…ce limits

## Context

Two simple fixes/improvements.

1. Recently the interface to retrieve a `VkPipeline` from a pipeline cache was updated. Some code hidden behind debug compile flags was not updated. Updating the call site fixes building Vulkan with `etvk.debug = 1`.
2. Print the maximum storage buffer size when printing out the physical device limits. This is useful information to have.

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

ghstack-source-id: 270150972
Pull Request resolved: #9016

Co-authored-by: Stephen Jia <[email protected]>
SS-JIA added a commit that referenced this pull request Mar 26, 2025
## Context

As title; similar to #9016 since the interface for `ComputePipeline` descriptor was reverted in  #9405.

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

[ghstack-poisoned]
SS-JIA added a commit that referenced this pull request Mar 26, 2025
## Context

As title; similar to #9016 since the interface for `ComputePipeline` descriptor was reverted in  #9405.

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

ghstack-source-id: 274200673
Pull Request resolved: #9648
SS-JIA added a commit that referenced this pull request Mar 26, 2025
## Context

As title; similar to #9016 since the interface for `ComputePipeline` descriptor was reverted in  #9405.

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

[ghstack-poisoned]
SS-JIA added a commit that referenced this pull request Mar 26, 2025
Pull Request resolved: #9648

## Context

As title; similar to #9016 since the interface for `ComputePipeline` descriptor was reverted in  #9405.
ghstack-source-id: 274260087
@exported-using-ghexport

Differential Revision: [D71706868](https://our.internmc.facebook.com/intern/diff/D71706868/)
kirklandsign pushed a commit that referenced this pull request Mar 27, 2025
## Context

As title; similar to #9016 since the interface for `ComputePipeline` descriptor was reverted in  #9405.

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

[ghstack-poisoned]
kirklandsign pushed a commit that referenced this pull request Apr 11, 2025
## Context

As title; similar to #9016 since the interface for `ComputePipeline` descriptor was reverted in  #9405.

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

[ghstack-poisoned]
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 topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants