-
Notifications
You must be signed in to change notification settings - Fork 583
Use __cpp_aligned_new
instead of hand-rolling the implementation
#11293
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/11293
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit f7fbffe with merge base bca2cf5 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D75806635 |
@pytorchbot label "release notes: none" |
This pull request was exported from Phabricator. Differential Revision: D75806635 |
b5d5f83
to
2934fe0
Compare
This pull request was exported from Phabricator. Differential Revision: D75806635 |
3c4d8ff
to
9f04bfc
Compare
This pull request was exported from Phabricator. Differential Revision: D75806635 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D75806635 |
69f0ca3
to
95c9c56
Compare
This pull request was exported from Phabricator. Differential Revision: D75806635 |
e96a68e
to
c0cce9c
Compare
This pull request was exported from Phabricator. Differential Revision: D75806635 |
This pull request was exported from Phabricator. Differential Revision: D75806635 |
Summary: The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Replace the feature detection with a check on `__cplusplus`. While I'm here, use smart pointers to manage memory where it is simple to do so and remove allocation size rounding where it isn't required. Differential Revision: D75806635
This pull request was exported from Phabricator. Differential Revision: D75806635 |
Summary: Pull Request resolved: pytorch#11293 The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Replace the feature detection with a check on `__cplusplus`. While I'm here, use smart pointers to manage memory where it is simple to do so and remove allocation size rounding where it isn't required. Differential Revision: D75806635
…ytorch#11293) Summary: Pull Request resolved: pytorch#11293 The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Use new expressions instead to delegate the work to the C++ compiler. Reviewed By: lucylq Differential Revision: D75806635
93292fd
to
40d4b57
Compare
This pull request was exported from Phabricator. Differential Revision: D75806635 |
…ytorch#11293) Summary: The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Use new expressions instead to delegate the work to the C++ compiler. Reviewed By: lucylq Differential Revision: D75806635
This pull request was exported from Phabricator. Differential Revision: D75806635 |
…ytorch#11293) Summary: Pull Request resolved: pytorch#11293 The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Use new expressions instead to delegate the work to the C++ compiler. Reviewed By: lucylq Differential Revision: D75806635
@swolchok this keeps failing to land with:
Yet this PR shows no merge conflicts. This has persisted through several rebases. Do you know what's going on? |
The problem seems to be:
which is an undocumented field. Why is that used to determine whether it is mergeable or not? |
…ytorch#11293) Summary: The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Use new expressions instead to delegate the work to the C++ compiler. Reviewed By: lucylq Differential Revision: D75806635
…ytorch#11293) Summary: The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Use new expressions instead to delegate the work to the C++ compiler. Reviewed By: lucylq Differential Revision: D75806635
This pull request was exported from Phabricator. Differential Revision: D75806635 |
1 similar comment
This pull request was exported from Phabricator. Differential Revision: D75806635 |
…ytorch#11293) Summary: Pull Request resolved: pytorch#11293 The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Use new expressions instead to delegate the work to the C++ compiler. Reviewed By: lucylq Differential Revision: D75806635
how are you updating the PR? if you sent it out internally, you need to update the internal diff and export that diff to github; I see force pushes which looks like maybe you are updating the PR through some separate mechanism like working with github directly. |
This pull request was exported from Phabricator. Differential Revision: D75806635 |
No, those force pushes are done by phabricator. It seems that PRs that have both internal and external changes are broken because the |
…ytorch#11293) Summary: The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Use new expressions instead to delegate the work to the C++ compiler. Reviewed By: lucylq Differential Revision: D75806635
…ytorch#11293) Summary: Pull Request resolved: pytorch#11293 The current feature detection seems to be incorrect, resulting in fallback to the manual implementation, which in turn returns untagged pointers under hwasan. Use new expressions instead to delegate the work to the C++ compiler. Reviewed By: lucylq Differential Revision: D75806635
This pull request was exported from Phabricator. Differential Revision: D75806635 |
The current feature detection seems to be incorrect, resulting in fallback to
the manual implementation, which in turn returns untagged pointers under
hwasan.
Use new expressions instead to delegate the work to the C++ compiler.
Differential Revision: D75806635