-
Notifications
You must be signed in to change notification settings - Fork 537
[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
[ET-VK] Adding boolean parameters to add_copy_offset_node to specify index calculation function in copy op's shader. #9343
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]
🔗 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 FailuresAs of commit 3525f25 with merge base 1ccc5a0 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
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]
This pull request was exported from Phabricator. Differential Revision: D71343588 |
09e591d
into
gh/trivedivivek/64/base
…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/)
…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>
…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>
…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>
Stack from ghstack (oldest at bottom):
This diff adds two new boolean flags,
calc_out_pos_using_src_chnl
andcalc_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