| 20 | |
| 21 | |
| 22 | int gather_points_grad_wrapper_fast(int b, int c, int n, int npoints, |
| 23 | at::Tensor grad_out_tensor, at::Tensor idx_tensor, at::Tensor grad_points_tensor) { |
| 24 | |
| 25 | const float *grad_out = grad_out_tensor.data<float>(); |
| 26 | const int *idx = idx_tensor.data<int>(); |
| 27 | float *grad_points = grad_points_tensor.data<float>(); |
| 28 | |
| 29 | cudaStream_t stream = at::cuda::getCurrentCUDAStream().stream(); |
| 30 | gather_points_grad_kernel_launcher_fast(b, c, n, npoints, grad_out, idx, grad_points, stream); |
| 31 | return 1; |
| 32 | } |
| 33 | |
| 34 | |
| 35 | int furthest_point_sampling_wrapper(int b, int n, int m, |
nothing calls this directly
no outgoing calls
no test coverage detected