MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / gathering_forward_cuda

Function gathering_forward_cuda

pointops/src/sampling/sampling_cuda.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7//extern THCState *state;
8
9void 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
17void 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{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected