Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

rasterize_points.h 1.9 KB

You have to be logged in to leave a comment. Sign In
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
  1. /*
  2. * Copyright (C) 2023, Inria
  3. * GRAPHDECO research group, https://team.inria.fr/graphdeco
  4. * All rights reserved.
  5. *
  6. * This software is free for non-commercial, research and evaluation use
  7. * under the terms of the LICENSE.md file.
  8. *
  9. * For inquiries contact george.drettakis@inria.fr
  10. */
  11. #pragma once
  12. #include <torch/extension.h>
  13. #include <cstdio>
  14. #include <tuple>
  15. #include <string>
  16. std::tuple<int, torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor>
  17. RasterizeGaussiansCUDA(
  18. const torch::Tensor& background,
  19. const torch::Tensor& means3D,
  20. const torch::Tensor& colors,
  21. const torch::Tensor& opacity,
  22. const torch::Tensor& scales,
  23. const torch::Tensor& rotations,
  24. const float scale_modifier,
  25. const torch::Tensor& cov3D_precomp,
  26. const torch::Tensor& viewmatrix,
  27. const torch::Tensor& projmatrix,
  28. const float tan_fovx,
  29. const float tan_fovy,
  30. const int image_height,
  31. const int image_width,
  32. const torch::Tensor& sh,
  33. const int degree,
  34. const torch::Tensor& campos,
  35. const bool prefiltered,
  36. const bool debug);
  37. std::tuple<torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor, torch::Tensor>
  38. RasterizeGaussiansBackwardCUDA(
  39. const torch::Tensor& background,
  40. const torch::Tensor& means3D,
  41. const torch::Tensor& radii,
  42. const torch::Tensor& colors,
  43. const torch::Tensor& scales,
  44. const torch::Tensor& rotations,
  45. const float scale_modifier,
  46. const torch::Tensor& cov3D_precomp,
  47. const torch::Tensor& viewmatrix,
  48. const torch::Tensor& projmatrix,
  49. const float tan_fovx,
  50. const float tan_fovy,
  51. const torch::Tensor& dL_dout_color,
  52. const torch::Tensor& sh,
  53. const int degree,
  54. const torch::Tensor& campos,
  55. const torch::Tensor& geomBuffer,
  56. const int R,
  57. const torch::Tensor& binningBuffer,
  58. const torch::Tensor& imageBuffer,
  59. const bool debug);
  60. torch::Tensor markVisible(
  61. torch::Tensor& means3D,
  62. torch::Tensor& viewmatrix,
  63. torch::Tensor& projmatrix);
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...