Spaces:
Sleeping
Sleeping
File size: 860 Bytes
78d2329 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | #ifndef _BALL_QUERY_CUDA_KERNEL
#define _BALL_QUERY_CUDA_KERNEL
#include <vector>
#include <torch/serialize/tensor.h>
#include <ATen/cuda/CUDAContext.h>
void ball_query_cuda(int m, int nsample,
float min_radius, float max_radius,
at::Tensor xyz_tensor, at::Tensor new_xyz_tensor,
at::Tensor offset_tensor, at::Tensor new_offset_tensor,
at::Tensor idx_tensor, at::Tensor dist2_tensor);
#ifdef __cplusplus
extern "C" {
#endif
void ball_query_cuda_launcher(int m, int nsample,
float min_radius, float max_radius,
const float *xyz, const float *new_xyz,
const int *offset, const int *new_offset,
int *idx, float *dist2);
#ifdef __cplusplus
}
#endif
#endif
|