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
LSHSearch Parallelization #700
Merged
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
72999dd
Implements parallel query processing for LSH
mentekid 95d417f
Implements parallel query processing for LSH
mentekid afcc881
Book-keeping of number of threads used
mentekid 5db5423
Adds parallelization to bichromatic search
mentekid abef504
Adds Bichromatic Parallel Test
mentekid 4cbd43e
Merge branch 'master' into lsh-parallelization
mentekid a60ff91
Adds parallelism option to CMakeFiles, removes most omp.h dependence
mentekid 6152527
Removes numThreadsUsed variable, changes how maxThreads is initialized
mentekid 7cf77cd
Changes placeholder code for OpenMP
mentekid 2ca48c6
Fixes CMakeFiles and code to make openMP actually transparent
mentekid a6aca41
CMake trickery to maybe make travis not crash
mentekid 3d536c7
Simplifies OpenMP transparency code
mentekid c04b073
Adds -Wno-unknown-pragmas
mentekid 65983d1
Commit to switch branch
mentekid b95a3ce
Changes BaseCase to include loop over candidate set. Changes loop var…
mentekid 0d38271
Removes commented-out old BaseCase code
mentekid 3af80c3
Merges multiprobe LSH
mentekid b02e2f3
Changes BaseCase to include the loop over candidate set. Places paral…
mentekid a1e9c28
Merges 3fe0b72
mentekid ad8e6d3
Modifies CMakeLists to remove -DHAS_OPENMP
mentekid c4c8ff9
Removes old code and comments from CMakeLists.txt
mentekid 074d726
Restores size_t for openMP loop counters, changes CmakeLists to requi…
mentekid f982ca5
Removes maxThreads functionality from LSHSearch class
mentekid 1fb998f
Removes HAS_OPENMP definition in CMakeFiles
mentekid b92d465
Workaround for OpenMP 2.0 (based on dt_utils.cpp)
mentekid 2fee61e
Transforms omp loop to reduction
mentekid File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Hm, so, with what you have changed here, a user must specify
HAS_OPENMP
for OpenMP to be used. With the previous code, CMake would determine whether or not OpenMP support was available, and if so, OpenMP would be enabled. I think maybe it is better to use automatic detection here instead of asking the user to specify-D HAS_OPENMP
; what do you think?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.
I added
DHAS_OPENMP
for two reasons:The flag is on by default, so it shouldn't bother users that don't want to mess with it.
It can definately be changed, I just had so much trouble making the build pass in AppVeyor that I went all out.