Skip to content

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: #14904 by @Gasoonjia
^ 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/gasoonjia/49/base
ghstack PR head: https://github.com/pytorch/executorch/tree/gh/gasoonjia/49/head
Merge bot PR base: https://github.com/pytorch/executorch/tree/gh/gasoonjia/47/orig
Merge bot PR head: https://github.com/pytorch/executorch/tree/gh/gasoonjia/49/orig
Differential Revision: D84135844
@diff-train-skip-merge

Pull Request resolved: #14904

This diff does a comprehensive refactor on cuda_backend.cpp. Two main points:
1.  Reuse ExecuTorch standard macros (ET_CHECK_OR_RETURN_ERROR and others) to replaces exiting if..else + ET_LOG branches
2. Introduced LOAD_SYMBOL macro to concentrate the symbol loading pipeline.
ghstack-source-id: 314984328
@exported-using-ghexport

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

pytorch-bot bot commented Oct 9, 2025

🔗 Helpful Links

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

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

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla 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 Oct 9, 2025
…ree (#14927)

This PR was created by the merge bot to help merge the original PR into
the main branch.
ghstack PR number: #14905 by
@Gasoonjia
^ 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/gasoonjia/50/base
ghstack PR head:
https://github.com/pytorch/executorch/tree/gh/gasoonjia/50/head
Merge bot PR base:
https://github.com/pytorch/executorch/tree/gh/gasoonjia/49/orig
Merge bot PR head:
https://github.com/pytorch/executorch/tree/gh/gasoonjia/50/orig
Differential Revision:
[D84135792](https://our.internmc.facebook.com/intern/diff/D84135792/)
@diff-train-skip-merge

---------

Co-authored-by: gasoonjia <gasoonjia@icloud.com>
@Gasoonjia Gasoonjia merged commit 7722509 into gh/gasoonjia/47/orig Oct 9, 2025
19 of 20 checks passed
@Gasoonjia Gasoonjia deleted the gh/gasoonjia/49/orig branch October 9, 2025 05:18
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants