MCPcopy Create free account
hub / github.com/csuhan/OneLLM / gather_points_wrapper_fast

Function gather_points_wrapper_fast

model/lib/pointnet2/src/sampling.cpp:10–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10int gather_points_wrapper_fast(int b, int c, int n, int npoints,
11 at::Tensor points_tensor, at::Tensor idx_tensor, at::Tensor out_tensor){
12 const float *points = points_tensor.data<float>();
13 const int *idx = idx_tensor.data<int>();
14 float *out = out_tensor.data<float>();
15
16 cudaStream_t stream = at::cuda::getCurrentCUDAStream().stream();
17 gather_points_kernel_launcher_fast(b, c, n, npoints, points, idx, out, stream);
18 return 1;
19}
20
21
22int gather_points_grad_wrapper_fast(int b, int c, int n, int npoints,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected