[Executorch] Update EXECUTORCH_LIBRARY macro#5668
Conversation
Change it to generate unique static variable name. Otherwise we cant register two ops from the same file. Also dont know what happens when two files have the same static variable. Probably nothing unless you are trying to refer to it from some other file. Differential Revision: [D62623240](https://our.internmc.facebook.com/intern/diff/D62623240/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/5668
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f6720b5 with merge base ee32848 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This pull request was exported from Phabricator. Differential Revision: D62623240 |
Change it to generate unique static variable name. Otherwise we cant register two ops from the same file. Also dont know what happens when two files have the same static variable. Probably nothing unless you are trying to refer to it from some other file. Differential Revision: [D62623240](https://our.internmc.facebook.com/intern/diff/D62623240/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D62623240 |
Change it to generate unique static variable name. Otherwise we cant register two ops from the same file. Also dont know what happens when two files have the same static variable. Probably nothing unless you are trying to refer to it from some other file. Differential Revision: [D62623240](https://our.internmc.facebook.com/intern/diff/D62623240/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D62623240 |
Change it to generate unique static variable name. Otherwise we cant register two ops from the same file. Also dont know what happens when two files have the same static variable. Probably nothing unless you are trying to refer to it from some other file. Differential Revision: [D62623240](https://our.internmc.facebook.com/intern/diff/D62623240/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D62623240 |
Change it to generate unique static variable name. Otherwise we cant register two ops from the same file. Also dont know what happens when two files have the same static variable. Probably nothing unless you are trying to refer to it from some other file. Differential Revision: [D62623240](https://our.internmc.facebook.com/intern/diff/D62623240/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D62623240 |
Change it to generate unique static variable name. Otherwise we cant register two ops from the same file. Also dont know what happens when two files have the same static variable. Probably nothing unless you are trying to refer to it from some other file. Differential Revision: [D62623240](https://our.internmc.facebook.com/intern/diff/D62623240/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D62623240 |
Change it to generate unique static variable name. Otherwise we cant register two ops from the same file. Also dont know what happens when two files have the same static variable. Probably nothing unless you are trying to refer to it from some other file. Differential Revision: [D62623240](https://our.internmc.facebook.com/intern/diff/D62623240/) [ghstack-poisoned]
|
This pull request was exported from Phabricator. Differential Revision: D62623240 |
|
This pull request has been merged in fdacfaa. |
Pull Request resolved: pytorch/executorch#5668 Change it to generate unique static variable name. Otherwise we cant register two ops from the same file. Also dont know what happens when two files have the same static variable. Probably nothing unless you are trying to refer to it from some other file. ghstack-source-id: 245751543 @exported-using-ghexport Differential Revision: [D62623240](https://our.internmc.facebook.com/intern/diff/D62623240/)
Stack from ghstack (oldest at bottom):
Change it to generate unique static variable name. Otherwise we cant register
two ops from the same file.
Also dont know what happens when two files have the same static variable.
Probably nothing unless you are trying to refer to it from some other file.
Differential Revision: D62623240