-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Fix illegal memory acces in CUDA Octree builder #3627
Conversation
@ruslo Thanks for the nice fix 😄 Could you add a test which can be used to test that your fix works? The test will sadly not run on the CI, but will be available for improving the code to fix the second issue that you've reported (regarding normals not being NaN) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a test which can be used to test that your fix works?
I've found few GPU tests here:
and added new case to test_normals.cpp
.
The test will sadly not run on the CI
Yes, I've noticed that this C++ code is not tied to CMake. I did some hacks to run it on my side.
Such as? |
It's expected that GTest is bundled, which is no longer true: Sources are collected but not used anywhere: I see that PCL using PCL_ADD_TEST wrapper for Which is created here: Since subdirectory Path to tested Tested file I found it, put it in the root folder and have to run the test from there, without using CTest. I did some trivial tweaks to fix few places but most of the tests failing even without patch. List of tests I have to exclude:
|
I'll review the points raised and see what can be done to resolve them. Thanks @ruslo for your work 😄 |
I don't think the failure is related to this change. @kunaltyagi Job restart needed? |
@taketwo @SergioRAgostinho This changeset feels right to me after a dive in the octree module but I'm not confident. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same opinion here. From my side, it's good to merge.
Line |
Fixes: #2371