Skip to content

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

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

…index calculation function in copy op's shader.

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.

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

[ghstack-poisoned]
@trivedivivek trivedivivek requested a review from SS-JIA as a code owner March 17, 2025 23:18
Copy link

pytorch-bot bot commented Mar 17, 2025

🔗 Helpful Links

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

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

✅ No Failures

As of commit 3525f25 with merge base 1ccc5a0 (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: D71343588

…to specify index calculation function in copy op's shader."

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.

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

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

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

@facebook-github-bot facebook-github-bot merged commit 09e591d into gh/trivedivivek/64/base Mar 20, 2025
81 of 83 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/trivedivivek/64/head branch March 20, 2025 01:40
kirklandsign pushed a commit that referenced this pull request Mar 20, 2025
…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/)
trivedivivek added a commit that referenced this pull request Mar 20, 2025
…index calculation function in copy op's shader. (#9437)

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

---------

Co-authored-by: Vivek Trivedi <5340687+trivedivivek@users.noreply.github.com>
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 <5340687+trivedivivek@users.noreply.github.com>
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 <5340687+trivedivivek@users.noreply.github.com>
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