-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathext.cpp
More file actions
23 lines (21 loc) · 720 Bytes
/
ext.cpp
File metadata and controls
23 lines (21 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* 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 george.drettakis@inria.fr
*/
#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);
// SparseAdam&SSIM_Loss;
m.def("adamUpdate", &adamUpdate);
m.def("fusedssim", &fusedssim);
m.def("fusedssim_backward", &fusedssim_backward);
}