Remove deviceTypeToBackend, which is underspecified. (#18135)
authorGregory Chanan <gchanan@fb.com>
Tue, 19 Mar 2019 14:50:31 +0000 (07:50 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 19 Mar 2019 14:53:28 +0000 (07:53 -0700)
commit3a85f88efd0fd93890447b40cd14ad3fe5389014
tree3e7f6ad86cfad9992357c186752c0a43218b356a
parent190c36bbc2e64073ff1bc210cb8bfe1341e724c5
Remove deviceTypeToBackend, which is underspecified. (#18135)

Summary:
There are multiple backends for a device type, so we just kill this function.
Also, kill an getNonVariableType instance which was also underspecified.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/18135

Differential Revision: D14507474

Pulled By: gchanan

fbshipit-source-id: fc791a76d4b851b23d09a070725f3838621eb13d
aten/src/ATen/Context.h
c10/core/Backend.h
c10/core/TensorOptions.h
torch/csrc/DynamicTypes.cpp