Compile BatchLinearAlgebra without nvcc (#64146)
authorPeter Bell <peterbell10@live.co.uk>
Tue, 31 Aug 2021 03:17:12 +0000 (20:17 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Tue, 31 Aug 2021 03:18:21 +0000 (20:18 -0700)
commit7ca4728e6dd4f3a706082dedf33c21771116070a
tree645058aaa3964dd17a45e04302273648327673ec
parente7fb35021aca4b29bbf6f7120c5bff1400179175
Compile BatchLinearAlgebra without nvcc (#64146)

Summary:
These files only use cuda libraries interfaces, so don't actually need to be compiled with nvcc.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/64146

Reviewed By: ezyang

Differential Revision: D30633189

Pulled By: ngimel

fbshipit-source-id: c9d0ae5259a10cb49332d31f0da89ad758736ea8
aten/src/ATen/native/cuda/BatchLinearAlgebra.cpp [moved from aten/src/ATen/native/cuda/BatchLinearAlgebra.cu with 99% similarity]
aten/src/ATen/native/cuda/BatchLinearAlgebraLib.cpp [moved from aten/src/ATen/native/cuda/BatchLinearAlgebraLib.cu with 98% similarity]
caffe2/CMakeLists.txt