Commit 57b9c729 authored by Peter Bell's avatar Peter Bell Committed by Facebook GitHub Bot
Browse files

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
parent 7c111f73
......@@ -208,7 +208,7 @@ __device__ static float atomicMin(float* address, float val) {
#define IABS(a) abs(a)
// Checks.
#define CHECKOK THCudaCheck
#define CHECKOK C10_CUDA_CHECK
#define ARGCHECK THArgCheck
// Math.
......@@ -485,7 +485,7 @@ __device__ static float atomicMin(float* address, float val) {
#define END_PARALLEL_2D_NORET()
#define END_PARALLEL_2D()
#define RETURN_PARALLEL() return
#define CHECKLAUNCH() THCudaCheck(cudaGetLastError());
#define CHECKLAUNCH() C10_CUDA_CHECK(cudaGetLastError());
#define ISONDEVICE true
#define SYNCDEVICE() HANDLECUDA(cudaDeviceSynchronize())
#define START_TIME(TN) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment