You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
}
`
Is it possible to do multiple search at the same time ? It seems that a mutex is used within the Nearest_Search(), which means that parallel operations actually save no time. Am i right ?
The text was updated successfully, but these errors were encountered:
Our ikd-Tree supports multi-thread nearest search. The mutex locks are only used to avoid memory conflicts in lazy label updates thus the multi-thread operations definitely save time. We have already tested the multi-thread nearest search in our LIO applications using the openmp. So don't worry about this.
Thanks for your work, it's elegant and useful.
I would like to use nearest search in a openmp section, eg:
`
#pragma omp parallel for num_threads(4)
for (int i = 0; i < laserCloudSurfLastDSNum; i++)
{
PointType pointOri, pointSel, coeff;
std::vector pointSearchInd;
std::vector pointSearchSqDis;
}
`
Is it possible to do multiple search at the same time ? It seems that a mutex is used within the Nearest_Search(), which means that parallel operations actually save no time. Am i right ?
The text was updated successfully, but these errors were encountered: