From 33bb07d6d0c0519a618518ef9327ba6d5696ea6d Mon Sep 17 00:00:00 2001 From: inter Date: Sun, 21 Sep 2025 20:19:13 +0800 Subject: [PATCH] Add File --- .../pointnet2_stack/src/voxel_query_gpu.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pcdet/ops/pointnet2/pointnet2_stack/src/voxel_query_gpu.h diff --git a/pcdet/ops/pointnet2/pointnet2_stack/src/voxel_query_gpu.h b/pcdet/ops/pointnet2/pointnet2_stack/src/voxel_query_gpu.h new file mode 100644 index 0000000..eddba65 --- /dev/null +++ b/pcdet/ops/pointnet2/pointnet2_stack/src/voxel_query_gpu.h @@ -0,0 +1,19 @@ +#ifndef _STACK_VOXEL_QUERY_GPU_H +#define _STACK_VOXEL_QUERY_GPU_H + +#include +#include +#include +#include + +int voxel_query_wrapper_stack(int M, int R1, int R2, int R3, int nsample, float radius, + int z_range, int y_range, int x_range, at::Tensor new_xyz_tensor, at::Tensor xyz_tensor, + at::Tensor new_coords_tensor, at::Tensor point_indices_tensor, at::Tensor idx_tensor); + + +void voxel_query_kernel_launcher_stack(int M, int R1, int R2, int R3, int nsample, + float radius, int z_range, int y_range, int x_range, const float *new_xyz, + const float *xyz, const int *new_coords, const int *point_indices, int *idx); + + +#endif