[mlpack-git] master: Implements parallel query processing for LSH (95d417f)
gitdub at mlpack.org
gitdub at mlpack.org
Fri Jul 8 14:36:52 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/34cf8d94f79c9a72ff4199676033b060cd039fcd...425324bf7fb7c86c85d10a909d8a59d4f69b7164
>---------------------------------------------------------------
commit 95d417f59e411d629dc9b74fe5e5b0f0b5c01626
Author: Yannis Mentekidis <mentekid at gmail.com>
Date: Sun Jun 19 14:21:17 2016 +0300
Implements parallel query processing for LSH
>---------------------------------------------------------------
95d417f59e411d629dc9b74fe5e5b0f0b5c01626
src/mlpack/methods/lsh/lsh_search_impl.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mlpack/methods/lsh/lsh_search_impl.hpp b/src/mlpack/methods/lsh/lsh_search_impl.hpp
index bd98f64..a7e3be7 100644
--- a/src/mlpack/methods/lsh/lsh_search_impl.hpp
+++ b/src/mlpack/methods/lsh/lsh_search_impl.hpp
@@ -550,7 +550,8 @@ Search(const size_t k,
if (i == 0 && omp_get_thread_num() == 0)
{
numThreadsUsed+=omp_get_num_threads();
- cout<<"Using "<<numThreadsUsed<<endl;
+ Log::Info
+ << "Using "<< numThreadsUsed << " threads to process queries." << endl;
}
// Hash every query into every hash table and eventually into the
// 'secondHashTable' to obtain the neighbor candidates.
More information about the mlpack-git
mailing list