Skip to content
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

After changing the voxelgrid parameters, the performance dropped significantly. #56

Open
qilinhu opened this issue Mar 25, 2024 · 2 comments

Comments

@qilinhu
Copy link

qilinhu commented Mar 25, 2024

Running machine environment:
image

When I use the official cuFilter demo, the cuda calculation time is basically the same as the official one. As follows:
------------checking CUDA VoxelGrid----------------
CUDA VoxelGrid by Time: 3.20768 ms.
CUDA VoxelGrid before filtering: 119978
CUDA VoxelGrid after filtering: 3440

But when I try to set setP.voxelX, setP.voxelY, and setP.voxelZ to 0.09, the cuda calculation time is much slower, which is not as expected. As follows:
------------checking CUDA VoxelGrid----------------
CUDA VoxelGrid by Time: 3109.65 ms.
CUDA VoxelGrid before filtering: 119978
CUDA VoxelGrid after filtering: 62844

Why is this? Is there any way to solve this situation? In most cases, setP.voxelX, setP.voxelY, and setP.voxelZ cannot always be set to 1. I hope someone can help.

@ArmanAstudSavia
Copy link

same issue on Linux Ubuntu 22.04 + NVIDIA GeForce RTX 3070 Ti
setting the params to 1 makes the script run very fast (4ms), but when changing it to 0.2, the performance is pretty bad (200ms)...

@ArmanAstudSavia
Copy link

Any updates on this regard? @qilinhu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants