Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
diff-gaussian-rasterization
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alan de Oliveira
diff-gaussian-rasterization
Commits
be2f74a0
Commit
be2f74a0
authored
Jul 12, 2023
by
KOPANAS Georgios
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix two corner cases where we dont have points
parent
c78d81f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
rasterizer_impl.cu
cuda_rasterizer/rasterizer_impl.cu
+8
-7
No files found.
cuda_rasterizer/rasterizer_impl.cu
View file @
be2f74a0
...
@@ -132,9 +132,9 @@ __global__ void identifyTileRanges(int L, uint64_t* point_list_keys, uint2* rang
...
@@ -132,9 +132,9 @@ __global__ void identifyTileRanges(int L, uint64_t* point_list_keys, uint2* rang
ranges[prevtile].y = idx;
ranges[prevtile].y = idx;
ranges[currtile].x = idx;
ranges[currtile].x = idx;
}
}
if (idx == L - 1)
ranges[currtile].y = L;
}
}
if (idx == L - 1)
ranges[currtile].y = L;
}
}
// Mark Gaussians as visible/invisible, based on view frustum testing
// Mark Gaussians as visible/invisible, based on view frustum testing
...
@@ -310,11 +310,12 @@ int CudaRasterizer::Rasterizer::forward(
...
@@ -310,11 +310,12 @@ int CudaRasterizer::Rasterizer::forward(
cudaMemset(imgState.ranges, 0, tile_grid.x * tile_grid.y * sizeof(uint2));
cudaMemset(imgState.ranges, 0, tile_grid.x * tile_grid.y * sizeof(uint2));
// Identify start and end of per-tile workloads in sorted list
// Identify start and end of per-tile workloads in sorted list
identifyTileRanges << <(num_rendered + 255) / 256, 256 >> > (
if (num_rendered > 0)
num_rendered,
identifyTileRanges << <(num_rendered + 255) / 256, 256 >> > (
binningState.point_list_keys,
num_rendered,
imgState.ranges
binningState.point_list_keys,
);
imgState.ranges
);
// Let each tile blend its range of Gaussians independently in parallel
// Let each tile blend its range of Gaussians independently in parallel
const float* feature_ptr = colors_precomp != nullptr ? colors_precomp : geomState.rgb;
const float* feature_ptr = colors_precomp != nullptr ? colors_precomp : geomState.rgb;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment