Remove THCGeneral.cpp (#66766)

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

Test Plan: Imported from OSS

Reviewed By: zou3519

Differential Revision: D31721647

Pulled By: ngimel

fbshipit-source-id: 5033a2800871c8745a1a92e379c9f97c98af212e
This commit is contained in:
Peter Bell 2021-10-19 16:07:39 -07:00 committed by Facebook GitHub Bot
parent 7c111f7379
commit 57b9c729b8

View File

@ -208,7 +208,7 @@ __device__ static float atomicMin(float* address, float val) {
#define IABS(a) abs(a) #define IABS(a) abs(a)
// Checks. // Checks.
#define CHECKOK THCudaCheck #define CHECKOK C10_CUDA_CHECK
#define ARGCHECK THArgCheck #define ARGCHECK THArgCheck
// Math. // Math.
@ -485,7 +485,7 @@ __device__ static float atomicMin(float* address, float val) {
#define END_PARALLEL_2D_NORET() #define END_PARALLEL_2D_NORET()
#define END_PARALLEL_2D() #define END_PARALLEL_2D()
#define RETURN_PARALLEL() return #define RETURN_PARALLEL() return
#define CHECKLAUNCH() THCudaCheck(cudaGetLastError()); #define CHECKLAUNCH() C10_CUDA_CHECK(cudaGetLastError());
#define ISONDEVICE true #define ISONDEVICE true
#define SYNCDEVICE() HANDLECUDA(cudaDeviceSynchronize()) #define SYNCDEVICE() HANDLECUDA(cudaDeviceSynchronize())
#define START_TIME(TN) \ #define START_TIME(TN) \