biovault / HDILib

HDILib is a library for the scalable analysis of large and high-dimensional data.
MIT License
6 stars 3 forks source link

Use custom hsnw::ParallelFor instead of omp for adding points #26

Closed alxvth closed 3 years ago

alxvth commented 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

alxvth commented 3 years ago

Yes, pthreads was missing. It builds on linux and mac now.

jeggermont commented 3 years ago

I think it should also be changed in hierarchical_sne_inl.h