Replace storageimpl type with scalar_type and backend#10097
Replace storageimpl type with scalar_type and backend#10097cpuhrsch wants to merge 1 commit intopytorch:masterfrom
Conversation
430e20a to
cc3206f
Compare
aten/src/ATen/StorageImpl.h
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
torch/csrc/DynamicTypes.cpp
Outdated
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.
aten/src/ATen/StorageImpl.cpp
Outdated
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.
torch/csrc/DynamicTypes.cpp
Outdated
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
facebook-github-bot
left a comment
There was a problem hiding this comment.
cpuhrsch has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
|
||
| namespace detail { | ||
| AT_API Backend get_backend(StorageImpl* storage_impl); | ||
| } |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
| if (data_ptr.device().is_cuda()) { | ||
| return globalContext().getType(Backend::CUDA, scalar_type); | ||
| namespace detail { | ||
| Backend get_backend(StorageImpl* storage_impl) { |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Summary: Pull Request resolved: pytorch/pytorch#10097 Differential Revision: D9124287 Pulled By: cpuhrsch fbshipit-source-id: c976abeeaaa085b972812c1a3270eb6aef0c0dca
Summary: Pull Request resolved: pytorch#10097 Differential Revision: D9124287 Pulled By: cpuhrsch fbshipit-source-id: c976abeeaaa085b972812c1a3270eb6aef0c0dca
No description provided.