-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Migrate THCAtomics to ATen #65470
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
Migrate THCAtomics to ATen #65470
Conversation
[ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
You can add a comment to the PR and tag @pytorchbot with the following commands: # ciflow rerun, "ciflow/default" will always be added automatically
@pytorchbot ciflow rerun
# ciflow rerun with additional labels "-l <ciflow/label_name>", which is equivalent to adding these labels manually and trigger the rerun
@pytorchbot ciflow rerun -l ciflow/scheduled -l ciflow/slow For more information, please take a look at the CI Flow Wiki. |
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit c5cf8d5 (more details on the Dr. CI page): 💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.Please report bugs/suggestions to the (internal) Dr. CI Users group. |
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
A lot of other projects (e.g. vision and fbgemm_gpu) directly include THC/THCAtomics.cuh, can we temporarily restore it (and make it just include <ATen/cuda/Atomic.cuh>) until we can fix those projects to include ATen/cuda/Atomic.cuh? |
This PR already does that :) some |
Oh, great, didn't notice that. There are still internal breakages related to the new include that I thought were caused by file removal, but apparently not, I'll try to figure out what's going on (something about hipify, the error is
which indicates that THCAtomics is hipified, but the paths in the ATen are not? |
Differential Revision: [D31148184](https://our.internmc.facebook.com/intern/diff/D31148184) [ghstack-poisoned]
Trying a tentative fix
|
Yeah, just removing manual hipification is better, and rocm is passing. |
@ngimel has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470.
THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470.
* Update gpu atomics include path THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470. * Empty commit to trigger build Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Summary: * Update gpu atomics include path THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470. * Empty commit to trigger build Reviewed By: datumbox Differential Revision: D31268022 fbshipit-source-id: 880981b5b4390a6853fe0061cd9a3be0afa733e7 Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
* Update gpu atomics include path THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470. * Empty commit to trigger build Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com> [ghstack-poisoned]
* Update gpu atomics include path THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470. * Empty commit to trigger build Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com> [ghstack-poisoned]
* Update gpu atomics include path THC is being removed, and this header now lives in ATen. See pytorch/pytorch#65470. * Empty commit to trigger build Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
Stack from ghstack:
Differential Revision: D31148184