| 7 | //extern THCState *state; |
| 8 | |
| 9 | void gathering_forward_cuda(int b, int c, int n, int m, at::Tensor points_tensor, at::Tensor idx_tensor, at::Tensor out_tensor) |
| 10 | { |
| 11 | const float *points = points_tensor.data_ptr<float>(); |
| 12 | const int *idx = idx_tensor.data_ptr<int>(); |
| 13 | float *out = out_tensor.data_ptr<float>(); |
| 14 | gathering_forward_cuda_launcher(b, c, n, m, points, idx, out); |
| 15 | } |
| 16 | |
| 17 | void gathering_backward_cuda(int b, int c, int n, int m, at::Tensor grad_out_tensor, at::Tensor idx_tensor, at::Tensor grad_points_tensor) |
| 18 | { |
nothing calls this directly
no outgoing calls
no test coverage detected