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

Function furthest_point_sampling_wrapper

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

Source from the content-addressed store, hash-verified

33
34
35int furthest_point_sampling_wrapper(int b, int n, int m,
36 at::Tensor points_tensor, at::Tensor temp_tensor, at::Tensor idx_tensor) {
37
38 const float *points = points_tensor.data<float>();
39 float *temp = temp_tensor.data<float>();
40 int *idx = idx_tensor.data<int>();
41
42 cudaStream_t stream = at::cuda::getCurrentCUDAStream().stream();
43 furthest_point_sampling_kernel_launcher(b, n, m, points, temp, idx, stream);
44 return 1;
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected