Skip to content

Disable OpenMP for kNN and include missing headers#1

Open
iota97 wants to merge 1 commit intoyutanoma:mainfrom
iota97:main
Open

Disable OpenMP for kNN and include missing headers#1
iota97 wants to merge 1 commit intoyutanoma:mainfrom
iota97:main

Conversation

@iota97
Copy link

@iota97 iota97 commented Feb 6, 2026

Congratulations on this excellent project, and thank you for making the code publicly available.

While testing the code on Ubuntu, I noticed that the medial axis computation was taking several seconds per iteration. The issue appears to be caused by each kNN query being parallelized. This behavior only occurs when OpenMP is enabled, so it may not have been visible on systems without OpenMP support.

After disabling this parallelization, I was able to reproduce the runtime reported in the paper. I also included a few missing header files required for successful compilation on Ubuntu.

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.

1 participant