Skip to content

[ET-VK] Adding boolean parameters to add_copy_offset_node to specify index calculation function in copy op's shader. #9437

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 2 commits into from
Mar 20, 2025

Conversation

pytorchbot
Copy link
Collaborator

This PR was created by the merge bot to help merge the original PR into the main branch.
ghstack PR number: #9343 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/64/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/trivedivivek/64/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/trivedivivek/64/orig
@diff-train-skip-merge

@pytorchbot pytorchbot requested a review from SS-JIA as a code owner March 20, 2025 01:41
Copy link

pytorch-bot bot commented Mar 20, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit b684279 with merge base 4e1d2e5 (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 20, 2025
trivedivivek and others added 2 commits March 19, 2025 20:48
…index calculation function in copy op's shader.

Pull Request resolved: #9343

This diff adds two new boolean flags, `calc_out_pos_using_src_chnl` and `calc_in_pos_using_dst_chnl` to add_copy_offset_node, which can be used to specify an indexing function in the shader.
ghstack-source-id: 272554190
@exported-using-ghexport

Differential Revision: [D71343588](https://our.internmc.facebook.com/intern/diff/D71343588/)
…ction. (#9438)

This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: #9344 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/65/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/65/head
Merge bot PR base:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/64/orig
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/65/orig
@diff-train-skip-merge

Co-authored-by: Vivek Trivedi <[email protected]>
@kirklandsign kirklandsign force-pushed the gh/trivedivivek/64/orig branch from 624a38c to b684279 Compare March 20, 2025 03:48
@trivedivivek trivedivivek merged commit 6fb42ef into main Mar 20, 2025
80 checks passed
@trivedivivek trivedivivek deleted the gh/trivedivivek/64/orig branch March 20, 2025 15:02
oscarandersson8218 pushed a commit to oscarandersson8218/executorch that referenced this pull request Mar 21, 2025
…index calculation function in copy op's shader. (pytorch#9437)

This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: pytorch#9343 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/64/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/64/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/64/orig
@diff-train-skip-merge

---------

Co-authored-by: Vivek Trivedi <[email protected]>
DannyYuyang-quic pushed a commit to CodeLinaro/executorch that referenced this pull request Apr 2, 2025
…index calculation function in copy op's shader. (pytorch#9437)

This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: pytorch#9343 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/64/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/64/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/main
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/trivedivivek/64/orig
@diff-train-skip-merge

---------

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

Successfully merging this pull request may close these issues.

4 participants