-
-
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
CMake integration for PCL_INDEX_SIZE
and PCL_INDEX_SIGNED
#3697
Comments
Marking this as stale due to 30 days of inactivity. It will be closed in 7 days if no further activity occurs. |
I think this was added in 0dfb3fc Although I am not sure about setting the index size to 32 bit fixed for PCL 1.12.0 and later. Would that not technically break everything on systems where |
I think Windows would be that platform
Actual benefits:
Debatable side-effects: Adding this would being Windows to parity with Linux (default: 32 bit index) |
Really? This table (and everywhere else I looked) says that most systems including Windows use 32 bit ints. |
Oh, I was mistaken. Windows has
If the users are on SILP64 or ILP64, we can't really support them. (We don't even have CI for them. We extensively use We're including a CMake flag to set the default size, and this has been in the code for quite a long time now. They (SILP64, ILP64) are also HPC environments, so definitely a pro user-segment. Most of HPC environments have a dedicated sys-admin managing the system configuration (at least till Singularity and Sarus catch on everywhere). It's not a perfect solution, but it's better than continuing with the current non-standard size system. PS: We declared this in our previous release notes (1.11 and 1.11.1) as well. I think the original discussion started in 2019 end, and was finalized in 2020, a while before the 1.11 release. I might be wrong about the timelines though. Ofc, someone not following the discussions/release notes would be caught by surprise. Not debating on this at all. |
👍 Alright, that is convincing. Then I am okay with setting PCL_INDEX_SIZE to fixed 32 bit. Feel free to close this issue if you also think no further work on this is needed. |
Thanks. I didn't actually know the impact of this change in detail before you restarted the conversation :) |
This will allow downstream users to configure the index size to their preferred size and save memory on projects with smaller indices and enable use of PCL for really large point clouds.
Agreed
Originally posted by @SergioRAgostinho in #3651 (comment)
The text was updated successfully, but these errors were encountered: