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

Remove volume_x assertion #34

Merged

Conversation

dave992
Copy link
Contributor

@dave992 dave992 commented Apr 2, 2020

PR to remove the CV_Assert in kinfu.cpp, see #33.

The assert checks if the volume_x dimension is a multiple of 32 for assignment of the volume to CUDA blocks/threads. As the CUDA code has thread checks in place, this assert should not be needed and can be removed.

I tested the code by running the demo before and after the change with volume_x = 640 and volume_x = 641, which seems to work as expected.

Removed commented lines
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

Successfully merging this pull request may close these issues.

2 participants