Closed alxvth closed 3 years ago
Use a nmslib function from https://github.com/nmslib/nmslib/blob/v2.1.1/similarity_search/include/thread_pool.h#L62 to add points in parallel since the omp parallel for causes some problems.
This seems to fix #25
Yes, pthreads was missing. It builds on linux and mac now.
I think it should also be changed in hierarchical_sne_inl.h
Use a nmslib function from https://github.com/nmslib/nmslib/blob/v2.1.1/similarity_search/include/thread_pool.h#L62 to add points in parallel since the omp parallel for causes some problems.
This seems to fix #25