Delete CUDAUnaryOps.cpp (#46280)
Summary:
This file is no longer used
Pull Request resolved: https://github.com/pytorch/pytorch/pull/46280
Reviewed By: ezyang
Differential Revision: D24392749
Pulled By: heitorschueroff
fbshipit-source-id: 677e1ba8664e3c53448a962f8a5d05e806961c2d
diff --git a/aten/src/ATen/native/cuda/CUDAUnaryOps.cpp b/aten/src/ATen/native/cuda/CUDAUnaryOps.cpp
deleted file mode 100644
index 2c390a1..0000000
--- a/aten/src/ATen/native/cuda/CUDAUnaryOps.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <ATen/ATen.h>
-#include <ATen/LegacyTHFunctionsCUDA.h>
-#include <ATen/NamedTensorUtils.h>
-
-namespace at { namespace native {
-
-// These are just forwarding stubs
-
-#define IMPLEMENT_UNARY_OP_PREQUEL(op, _th_op) \
- Tensor& _##op##__cuda(Tensor& self) { \
- return _th_op##_out(self, self); \
- } \
- Tensor& _##op##_out_cuda(Tensor& result, const Tensor& self) { \
- return _th_op##_out(result, self); \
- }
-
-}}