-
Notifications
You must be signed in to change notification settings - Fork 4
/
ext.cpp
25 lines (23 loc) · 886 Bytes
/
ext.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
* Copyright (C) 2023, Inria
* GRAPHDECO research group, https://team.inria.fr/graphdeco
* All rights reserved.
*
* This software is free for non-commercial, research and evaluation use
* under the terms of the LICENSE.md file.
*
* For inquiries contact [email protected]
*/
#include <torch/extension.h>
#include "rasterize_points.h"
PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
m.def("rasterize_gaussians", &RasterizeGaussiansCUDA);
m.def("rasterize_gaussians_backward", &RasterizeGaussiansBackwardCUDA);
m.def("mark_visible", &markVisible);
m.def("fused_preprocess_4d", &fusedPreprocess4D);
m.def("fused_preprocess_4d_sparse", &fusedPreprocess4DSparse);
m.def("compute_cov_4d", &computeCov4D);
m.def("compute_cov_4d_backward", &computeCov4DBackward);
m.def("compute_sh_4d", &computeSH4D);
m.def("compute_sh_4d_backward", &computeSH4DBackward);
}