sampling_gpu.h 400 Bytes
Newer Older
1
2
3
4
5
6
7
8
#ifndef _SAMPLING_GPU_H
#define _SAMPLING_GPU_H

#include <torch/serialize/tensor.h>
#include <ATen/cuda/CUDAContext.h>
#include<vector>


9
int farthest_point_sampling_wrapper(int b, int n, int m,
10
11
    at::Tensor points_tensor, at::Tensor temp_tensor, at::Tensor idx_tensor);

12
void farthest_point_sampling_kernel_launcher(int b, int n, int m,
13
    const float *dataset, float *temp, int *idxs);
14
15

#endif