Skip to content

Commit

Permalink
bugfix: raymarching extra const
Browse files Browse the repository at this point in the history
  • Loading branch information
ashawkey committed Oct 8, 2022
1 parent 2a5d4d0 commit 4ae1616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raymarching/src/raymarching.cu
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ __global__ void kernel_composite_rays(
}


void composite_rays(const uint32_t n_alive, const uint32_t n_step, const float T_thresh, at::Tensor rays_alive, at::Tensor rays_t, const at::Tensor sigmas, const at::Tensor rgbs, const at::Tensor deltas, at::Tensor weights, at::Tensor depth, at::Tensor image) {
void composite_rays(const uint32_t n_alive, const uint32_t n_step, const float T_thresh, at::Tensor rays_alive, at::Tensor rays_t, at::Tensor sigmas, at::Tensor rgbs, at::Tensor deltas, at::Tensor weights, at::Tensor depth, at::Tensor image) {
static constexpr uint32_t N_THREAD = 128;
AT_DISPATCH_FLOATING_TYPES_AND_HALF(
image.scalar_type(), "composite_rays", ([&] {
Expand Down

0 comments on commit 4ae1616

Please sign in to comment.