MCPcopy Create free account
hub / github.com/apple/ml-pointersect / PYBIND11_MODULE

Function PYBIND11_MODULE

pointersect/pr/cuda/pr_cuda.cpp:734–747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

732
733
734PYBIND11_MODULE(TORCH_EXTENSION_NAME, m)
735{
736 m.def("get_grid_idx", &get_grid_idx, "compute the grid index for each point");
737 m.def("gather_points_v1", &gather_points_v1, "gather the points in each cell");
738 m.def("gather_points_v2", &gather_points_v2, "gather the points in each cell");
739 m.def("grid_ray_intersection", &grid_ray_intersection, "intersect ray with a grid");
740 m.def("collect_points_on_ray", &collect_points_on_ray, "collect points along a ray using compiled structure");
741 m.def("find_neighbor_points_of_rays", &find_neighbor_points_of_rays, "find the neighboring points of a ray");
742 m.def("find_k_neighbor_points_of_rays", &find_k_neighbor_points_of_rays, "find the k_neighboring points of a ray");
743 m.def("keep_min_k_values", &keep_min_k_values, "find k-min values with max heap");
744 m.def("find_k_neighbor_points_of_rays_v2", &find_k_neighbor_points_of_rays_v2, "find the k_neighboring points of a ray (version 2)");
745 m.def("find_k_neighbor_points_of_rays_v3", &find_k_neighbor_points_of_rays_v3, "find the k_neighboring points of a ray (version 3)");
746 m.def("find_k_neighbor_points_of_rays_v4", &find_k_neighbor_points_of_rays_v4, "find the k_neighboring points of a ray (version 4)");
747}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected