-
Notifications
You must be signed in to change notification settings - Fork 252
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
[Core] Optimize allocation and MPI management in #11719 #11857
[Core] Optimize allocation and MPI management in #11719 #11857
Conversation
… core/modify-spatial-search-result-container-vector-indexing
@pooyan-dadvand this is the modification I mentioned earlier, I don't add it directly to the PR branch of #11719. This PR should be reviewed and if approved, should be done before than #11719 |
I think unordered_set can easily outperform any ordered list with binary search. (I remember it from some comparisons I read years ago but I don't have the link now) So I would simply use unordered_set instead. |
… core/modify-spatial-search-result-container-vector-indexing
Closing until some refactors are done |
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.
👍
kratos/spatial_containers/spatial_search_result_container_vector.cpp
Outdated
Show resolved
Hide resolved
…r-vector-indexing
Co-authored-by: Carlos Roig <roigcarlo@users.noreply.github.com>
Co-authored-by: Carlos Roig <roigcarlo@users.noreply.github.com>
… core/modify-spatial-search-result-container-vector-indexing
Co-authored-by: Carlos Roig <roigcarlo@users.noreply.github.com>
…r-vector-indexing
… core/modify-spatial-search-result-container-vector-indexing
…r-vector-indexing
… core/modify-spatial-search-result-container-vector-indexing
… core/modify-spatial-search-result-container-vector-indexing
…for Barrier method and the index retrieval
… core/modify-spatial-search-result-container-vector-indexing
I will merge this and the following changes will be done in an independent branch and merged to the main one as this pR intended |
cde548f
into
core/mpi/spatial-search-container-new-proposal-v3
📝 Description
This PR tries to optimize the allocation and improve #11719. We maybe require to add asyncronous interface to the data communicator in order to properly fix the missing changes.
🆕 Changelog
GetSubDataCommunicator
toDataCommunicator
andMPIDataCommunicator
#11875