Skip to content

Replace storageimpl type with scalar_type and backend#10097

Closed
cpuhrsch wants to merge 1 commit intopytorch:masterfrom
cpuhrsch:ridimpltype
Closed

Replace storageimpl type with scalar_type and backend#10097
cpuhrsch wants to merge 1 commit intopytorch:masterfrom
cpuhrsch:ridimpltype

Conversation

@cpuhrsch
Copy link
Contributor

No description provided.

@cpuhrsch cpuhrsch force-pushed the ridimpltype branch 2 times, most recently from 430e20a to cc3206f Compare July 31, 2018 22:31

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

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.

zdevito pushed a commit to zdevito/ATen that referenced this pull request Aug 2, 2018
Summary: Pull Request resolved: pytorch/pytorch#10097

Differential Revision: D9124287

Pulled By: cpuhrsch

fbshipit-source-id: c976abeeaaa085b972812c1a3270eb6aef0c0dca
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
Summary: Pull Request resolved: pytorch#10097

Differential Revision: D9124287

Pulled By: cpuhrsch

fbshipit-source-id: c976abeeaaa085b972812c1a3270eb6aef0c0dca
@ezyang ezyang added the merged label Jun 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants