Skip to content

Commit

Permalink
Remove THCGeneral.cpp (#66766)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: pytorch/pytorch#66766

Test Plan: Imported from OSS

Reviewed By: zou3519

Differential Revision: D31721647

Pulled By: ngimel

fbshipit-source-id: 5033a2800871c8745a1a92e379c9f97c98af212e
  • Loading branch information
peterbell10 authored and facebook-github-bot committed Oct 19, 2021
1 parent 7c111f7 commit 57b9c72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pytorch3d/csrc/pulsar/cuda/commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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) \
Expand Down

0 comments on commit 57b9c72

Please sign in to comment.