-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some voxels out of bounds #1
Comments
There is also a small amount of voxels in the first processed inner node that are overwritten with other data due to mistakenly overlapping buffer allocations. At the end of the voxelization, the allocator offset should be updated to after the last allocated voxel, like first-come and random sampling already do: CudaLOD/modules/simlod/sampling_cuda_nonprogressive/voxelize_sampleselect_first_blockwise.cu Line 390 in cfaa4dc
This update of the allocator is missing in the average and weighted average strategies, at this place: CudaLOD/modules/simlod/sampling_cuda_nonprogressive/voxelize_neighborhood_blockwise.cu Line 473 in cfaa4dc The problem arises because CudaLOD/modules/simlod/sampling_cuda_nonprogressive/kernel.cu Lines 303 to 315 in cfaa4dc
And this is what it looks like. Should be about 100-150 voxels that end up garbage due do the amount of mem that computing stats allocates. |
gridSize
if a sample is roughly equal to the bounding box maximum.CudaLOD/modules/simlod/sampling_cuda_nonprogressive/voxelize_sampleselect_first_blockwise.cu
Lines 328 to 330 in cfaa4dc
Should be clamped like this:
Should probably also be done in similar sections in average and weighted strategies? e.g.
CudaLOD/modules/simlod/sampling_cuda_nonprogressive/voxelize_neighborhood_blockwise.cu
Lines 175 to 177 in cfaa4dc
The text was updated successfully, but these errors were encountered: