mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-08-02 03:42:50 +08:00
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:
parent
7c111f7379
commit
57b9c729b8
@ -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) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user