Move THTensor_(copy) to aten (#13603)
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:54 +0000 (11:12 -0800)
commit0786dfee7c789cd591475ad82c7cf360fcb80190
tree12d8a18164811546d2fb7f27a4abc535eeab502b
parentc1c841a4e70d2d74db83db47165e32fc5aa3728a
Move THTensor_(copy) to aten (#13603)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/13603
P
Moved vectorized CPU copy to aten. Notable changes mainly in _copy_same_type_.

Reviewed By: ezyang

Differential Revision: D12936031

fbshipit-source-id: 00d28813e3160595e73d104f76685e13154971c1
21 files changed:
aten/src/ATen/cpu/vec256/vec256_base.h
aten/src/ATen/cpu/vec256/vec256_double.h
aten/src/ATen/cpu/vec256/vec256_float.h
aten/src/ATen/native/Copy.cpp
aten/src/ATen/native/Copy.h
aten/src/ATen/native/cpu/CopyKernel.cpp [new file with mode: 0644]
aten/src/ATen/native/cpu/CopyKernel.h [new file with mode: 0644]
aten/src/TH/CMakeLists.txt
aten/src/TH/THTensor.h
aten/src/TH/THTensorCopy.cpp [deleted file]
aten/src/TH/generic/THTensor.cpp
aten/src/TH/generic/THTensorCopy.cpp [deleted file]
aten/src/TH/generic/THTensorCopy.h [deleted file]
aten/src/TH/generic/THTensorEvenMoreMath.cpp
aten/src/TH/generic/THTensorLapack.cpp
aten/src/TH/generic/THTensorMath.cpp
aten/src/TH/generic/THTensorMoreMath.cpp
aten/src/TH/generic/THVector.h
aten/src/TH/generic/THVectorDispatch.cpp
aten/src/TH/vector/AVX.cpp
test/test_torch.py