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

Umap multi-region support #77

Merged
merged 54 commits into from
Jun 5, 2019
Merged

Umap multi-region support #77

merged 54 commits into from
Jun 5, 2019

Conversation

mcfadden8
Copy link
Collaborator

This is a major update to umap including:

  1. Threading model changed to page filler/flusher model using Pthreads
  2. Umap now supports multiple regions (multiple calls to umap)

The API has also changed slightly and there is an associated umap-apps PR on the way as well.

config/config.h.in Outdated Show resolved Hide resolved
#ifndef UMAP_RO_MODE
page_address
#endif
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The way I'm reading this, it will be void * followed by a right paren if it is read only mode. Is that what is intended?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct. This is one way (perhaps not the best) to prevent compilation warnings of unused arguments when both type and argument are specified when the argument is not used. Specifying just the type maintains the signature, but no longer produces warnings when the arguments are ifdefed out in the implementation.

#ifndef UMAP_RO_MODE
page_address
#endif
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as previous comment about the void * (

src/umap/umap.h Outdated Show resolved Hide resolved
src/umap/umap.h Outdated Show resolved Hide resolved
mayagokhale
mayagokhale previously approved these changes Jun 5, 2019
Copy link
Collaborator

@mayagokhale mayagokhale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of minor comments and questions. Otherwise, good to go!

@mcfadden8 mcfadden8 merged commit 6b9e7b4 into develop Jun 5, 2019
@mcfadden8 mcfadden8 deleted the feature/multiple-umaps branch June 5, 2019 15:01
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.

None yet

2 participants