Clarify error text of the pin_memory function
authorVitaly Fedyunin <vitalyf@fb.com>
Wed, 27 Mar 2019 21:44:00 +0000 (14:44 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 27 Mar 2019 21:56:29 +0000 (14:56 -0700)
commit58f3712cebc26564a675f82bde6a8d318529dd48
tree5226d77ce99d3311e390a6d0cdc16dbf9cba6ed6
parent6684ef3f23f1aeb5f5034a982d2669011f3a5179
Clarify error text of the pin_memory function

Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/18530

Reviewed By: ezyang

Differential Revision: D14647578

Pulled By: VitalyFedyunin

fbshipit-source-id: ddd70240d52d2e9a96e26f5a0dfea8d76fe25078
aten/src/ATen/native/Memory.cpp