99__global__ void query_ball_point_kernel_dense (int b, int n, int m, float radius, int nsample,
1010 const float * __restrict__ new_xyz,
1111 const float * __restrict__ xyz,
12- long * __restrict__ idx_out,
12+ int64_t * __restrict__ idx_out,
1313 float * __restrict__ dist_out)
1414{
1515 int batch_index = blockIdx .x ;
@@ -53,7 +53,7 @@ __global__ void query_ball_point_kernel_dense(int b, int n, int m, float radius,
5353
5454__global__ void query_ball_point_kernel_partial_dense (
5555 int size_x, int size_y, float radius, int nsample, const float * __restrict__ x,
56- const float * __restrict__ y, const long * __restrict__ batch_x, const long * __restrict__ batch_y,
56+ const float * __restrict__ y, const int64_t * __restrict__ batch_x, const int64_t * __restrict__ batch_y,
5757 int64_t * __restrict__ idx_out, float * __restrict__ dist_out)
5858{
5959 // taken from
@@ -93,7 +93,7 @@ __global__ void query_ball_point_kernel_partial_dense(
9393}
9494
9595void query_ball_point_kernel_dense_wrapper (int b, int n, int m, float radius, int nsample,
96- const float * new_xyz, const float * xyz, long * idx,float * dist_out)
96+ const float * new_xyz, const float * xyz, int64_t * idx,float * dist_out)
9797{
9898 cudaStream_t stream = at::cuda::getCurrentCUDAStream ();
9999 query_ball_point_kernel_dense<<<b, opt_n_threads(m), 0 , stream>>> (b, n, m, radius, nsample,
@@ -102,9 +102,9 @@ void query_ball_point_kernel_dense_wrapper(int b, int n, int m, float radius, in
102102 CUDA_CHECK_ERRORS ();
103103}
104104
105- void query_ball_point_kernel_partial_wrapper (long batch_size, int size_x, int size_y, float radius,
105+ void query_ball_point_kernel_partial_wrapper (int64_t batch_size, int size_x, int size_y, float radius,
106106 int nsample, const float * x, const float * y,
107- const long * batch_x, const long * batch_y,
107+ const int64_t * batch_x, const int64_t * batch_y,
108108 int64_t * idx_out, float * dist_out)
109109{
110110 query_ball_point_kernel_partial_dense<<<batch_size, TOTAL_THREADS_SPARSE>>> (
0 commit comments