-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[pt1][tensor] move context_base.h to ATen/core #11336
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
Differential Revision: D9545704 Differential Version: 56924075
Differential Revision: D9545704 Differential Version: 56965830
Differential Revision: D9545704 Differential Version: 57004739
Differential Revision: D9670493 Differential Version: 57013834
Differential Revision: D9670493 Differential Version: 57104519
Differential Revision: D9670493 Differential Version: 57126987
Differential Revision: D9670493 Differential Version: 57131098
| @@ -1,3 +1,4 @@ | |||
| #pragma once | |||
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| #include <ATen/core/DeviceType.h> | ||
| #include <ATen/core/Error.h> | ||
| #include <ATen/core/UniqueVoidPtr.h> | ||
| #include <ATen/core/typeid.h> |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
caffe2/core/context_base.h
Outdated
|
|
||
| #include "caffe2/core/allocator.h" | ||
| #include <ATen/core/context_base.h> | ||
| #include "caffe2/core/event.h" |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
caffe2/core/context_base.cc
Outdated
|
|
||
| } // namespace caffe2 | ||
|
|
||
| namespace at { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
ezyang
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the spirit of unblocking I will approve.
Differential Revision: D9670493 Differential Version: 57156792
Differential Revision: D9670493 Differential Version: 57158240
Summary: Pull Request resolved: pytorch/pytorch#11336 Move `context_base.h` header to `ATen/core` and the implementations are in `caffe2/core/context_base.cc` Reviewed By: ezyang Differential Revision: D9670493 fbshipit-source-id: ce5bf2b3b4c80e9b62819f4332ce68af82720055
Summary: Pull Request resolved: pytorch#11336 Move `context_base.h` header to `ATen/core` and the implementations are in `caffe2/core/context_base.cc` Reviewed By: ezyang Differential Revision: D9670493 fbshipit-source-id: ce5bf2b3b4c80e9b62819f4332ce68af82720055
[pt1][tensor] move context_base.h to ATen/core
Move
context_base.hheader toATen/coreand the implementations are incaffe2/core/context_base.ccDifferential Revision: D9670493