Skip to content

[ET-VK] Moving PushConstantData class implementation a separate h and cpp file. #8648

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

Conversation

trivedivivek
Copy link
Contributor

@trivedivivek trivedivivek commented Feb 24, 2025

Stack from ghstack (oldest at bottom):

This diff moves the implementation of the PushConstantData class from the DispatchNode file to a separate PushConstantData.h and PushConstantData.cpp files. This is done to enable push constants for PrepackNodes in follow up changes.

Differential Revision: D70102031

… cpp file.

This diff moves the implementation of the `PushConstantData` class from the `DispatchNode` file to a separate `PushConstantData.h` and `PushConstantData.cpp` files. This is done to enable push constants for PrepackNodes in follow up changes.

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

[ghstack-poisoned]
@trivedivivek trivedivivek requested a review from SS-JIA as a code owner February 24, 2025 21:03
Copy link

pytorch-bot bot commented Feb 24, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 6a700b1 with merge base e673f7c (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: D70102031

…arate h and cpp file."

This diff moves the implementation of the `PushConstantData` class from the `DispatchNode` file to a separate `PushConstantData.h` and `PushConstantData.cpp` files. This is done to enable push constants for PrepackNodes in follow up changes.

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

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

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

…arate h and cpp file."

This diff moves the implementation of the `PushConstantData` class from the `DispatchNode` file to a separate `PushConstantData.h` and `PushConstantData.cpp` files. This is done to enable push constants for PrepackNodes in follow up changes.

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

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

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

…arate h and cpp file."

This diff moves the implementation of the `PushConstantData` class from the `DispatchNode` file to a separate `PushConstantData.h` and `PushConstantData.cpp` files. This is done to enable push constants for PrepackNodes in follow up changes.

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

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

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

…arate h and cpp file."

This diff moves the implementation of the `PushConstantData` class from the `DispatchNode` file to a separate `PushConstantData.h` and `PushConstantData.cpp` files. This is done to enable push constants for PrepackNodes in follow up changes.

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

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

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

@facebook-github-bot facebook-github-bot merged commit beea58f into gh/trivedivivek/57/base Mar 7, 2025
52 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/trivedivivek/57/head branch March 7, 2025 18:15
trivedivivek added a commit that referenced this pull request Mar 8, 2025
… cpp file. (#9047)

Pull Request resolved: #8648

This diff moves the implementation of the `PushConstantData` class from the `DispatchNode` file to a separate `PushConstantData.h` and `PushConstantData.cpp` files. This is done to enable push constants for PrepackNodes in follow up changes.
ghstack-source-id: 270375637
@exported-using-ghexport

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

Co-authored-by: Vivek Trivedi <[email protected]>
trivedivivek added a commit that referenced this pull request Mar 8, 2025
* [ET-VK] Moving PushConstantData class implementation a separate h and cpp file.

Pull Request resolved: #8648

This diff moves the implementation of the `PushConstantData` class from the `DispatchNode` file to a separate `PushConstantData.h` and `PushConstantData.cpp` files. This is done to enable push constants for PrepackNodes in follow up changes.
ghstack-source-id: 270375637
@exported-using-ghexport

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

* [ET-VK] Adding PushConstantDataInfo input to PrepackNode class.

Pull Request resolved: #8649

This diff adds a new input to the PrepackNode class called PushConstantDataInfo. This input is used to pass push constant data to the shader.
ghstack-source-id: 270375636
@exported-using-ghexport

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

---------

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

Successfully merging this pull request may close these issues.

3 participants