Move non_blocking copies to aten (#13866)
authorRoy Li <royboy@fb.com>
Fri, 30 Nov 2018 19:10:25 +0000 (11:10 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 30 Nov 2018 19:12:57 +0000 (11:12 -0800)
commit5c65a7812ea70eb63fad6de574a9f48c2c75cdf5
tree1043a6d374cc699045f205dc536f96974547225c
parente3840419ecffec315a08e58a48bc710ca2c2e9b4
Move non_blocking copies to aten (#13866)

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

just a straightforward port

Reviewed By: ezyang

Differential Revision: D13011878

fbshipit-source-id: f288efebf78fa634abfb681b938b44277064d5b6
aten/src/ATen/copy_wrapper.py
aten/src/ATen/native/Copy.cpp
aten/src/ATen/native/cuda/Copy.cu
aten/src/ATen/native/native_functions.yaml
aten/src/THC/CMakeLists.txt
aten/src/THC/THCCachingHostAllocator.h
aten/src/THC/THCTensorCopy.cpp [deleted file]
aten/src/THC/generic/THCTensorCopy.cpp [deleted file]