Skip to content

Commit

Permalink
include cstdint for c++11 (#43)
Browse files Browse the repository at this point in the history
Co-authored-by: Ruilong Li <[email protected]>
  • Loading branch information
liruilong940607 and Ruilong Li authored Oct 13, 2023
1 parent 2d65152 commit 9150129
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions gsplat/cuda/csrc/backward.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <cuda.h>
#include <cuda_runtime.h>
#include <cstdint>

// for f : R(n) -> R(m), J in R(m, n),
// v is cotangent in R(m), e.g. dL/df in R(m),
Expand Down
1 change: 1 addition & 0 deletions gsplat/cuda/csrc/forward.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <cuda.h>
#include <cuda_runtime.h>
#include <cstdint>

// compute the 2d gaussian parameters from 3d gaussian parameters
void project_gaussians_forward_impl(
Expand Down
2 changes: 1 addition & 1 deletion gsplat/cuda/csrc/helpers.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#include "config.h"
#include "cuda_runtime.h"
#include <cuda_runtime.h>
#include "third_party/glm/glm/glm.hpp"
#include "third_party/glm/glm/gtc/type_ptr.hpp"
#include <iostream>
Expand Down
3 changes: 2 additions & 1 deletion gsplat/cuda/csrc/serial_backward.cuh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "cuda_runtime.h"
#include <cuda_runtime.h>
#include <cstdint>

__host__ __device__ float3 projectMean2DBackward(
const float3 m, const float *proj, const float2 dL_dmean2D
Expand Down
2 changes: 1 addition & 1 deletion gsplat/cuda/csrc/sh.cuh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "cuda_runtime.h"
#include <cuda_runtime.h>
#include <cooperative_groups.h>

namespace cg = cooperative_groups;
Expand Down

0 comments on commit 9150129

Please sign in to comment.